Code playground
name = "you"
for i in range(3, 0, -1):
print(i, "...")
print(f"Hello, {name}!")
Output
Press Run.
Want lessons and checked exercises? Learn Python
Your progress
name = "you"
for i in range(3, 0, -1):
print(i, "...")
print(f"Hello, {name}!")
Press Run.
Want lessons and checked exercises? Learn Python
Code editor. Press Control or Command plus Enter to run the code. Tab indents; to move focus out of the editor, press Escape and then Tab.