whoyou.py consists of
several statements. The statements are executed in the order in which
they appear, starting from the first.
inputfunction reads one line from Unix standard input (the keyboard here) as a string of characters and stores the result, in this example, in the variable
name. You can tell it is a function because the name
inputis followed immediately by a pair of parentheses
(). The string inside the parentheses is printed on the screen. You can also omit the string, in which case nothing is printed.