PYTHON CORE · LESSON 05
Conditions
If not. · about 13 minutes
Learning with progressRead the summary for free. To save the work, log in to the account.
Type the code yourself
Set an example. After if and else, colons are needed, and inside - indentations.
points = 8
if points >= 5:
print("Супер")
else:
print("Ещё раз")Open the editor for class workSolve it yourself
score points are 8. If there are at least 5, output «Сдано», otherwise «Попробуй ещё». Use if and else.
The answer is hidden. Use similar examples from the lesson notes.
Opening up your homework