0
What is this program needs an input?
foo = input('Enter a number: ') foo
1 Answer
0
foo = input('Enter a number: ') - This line of code asks you (the user) for text.
Once you type in text it displays it on screen - foo
P.s foo is a variable that represents your text (input)
The second line - foo
Does the same as
print (foo)