Hello
Asks for your name and says hello. Teaches Input and Output.
Open in Tokbit Level: Beginner. Free in the browser, nothing to install, no account needed.
Run the example in Tokbit and step through it: before each step say what will happen and check it in the Variables panel. Then change it your way.
Flowchart
Python program
The same program as Python code. In Tokbit you see it when you switch from Diagram to Python above the flowchart.
"""Asks for your name and says hello. Teaches Input and Output."""
name: str
name = input("What is your name?")
print("Hello,", name + "!")
Follow-up tasks
Tasks in which you change the example (with a model solution):