PYTHON CORE · LESSON 11
Introduction of text
The program asks a question. · about 11 minutes
Learning with progressRead the summary for free. To save the work, log in to the account.
Type the code yourself
Reprint the example. The question should be inside input.
city = input("Твой город? ")
print("Город: " + city)Open the editor for class workSolve it yourself
Ask your favorite color and save the answer in color. Output «Твой цвет: » and answer. You can think of the question yourself.
The answer is hidden. Use similar examples from the lesson notes.
Opening up your homework