Чему вы научитесь
Python 8 for BIL continues Python 7 for BIL. You will write longer programs with loops, work with text and create your own functions.
How a lesson works
Lessons are 40 minutes. First the teacher explains the topic, then you practise here. Each lesson has the same structure:
- Theory: a short summary with examples you can read again at home.
- Quiz and What is the output? (1 point each).
- 5 Python tasks (7 points in total): you write real programs and Stepik checks them right away.
- Challenge (1 point): a harder task for the strongest students.
Every lesson is worth 10 points, which is your formative grade for the lesson. You can get 9 points without the challenge.
What you will learn
3rd quarter: not and nested if, **, abs() and round(), digits of a number, break and continue, nested loops and patterns, string indexes and slices.
4th quarter: looping over strings, string methods, functions with parameters and return, max and min in a loop.