Input Function - Word Drop
Drop the words into the correct position in the paragraph. Press submit to check your answers.
The ______ function gets data from the user, so a program can behave differently each time it runs. It must be written with a ______ i, not a capital I. The question shown to the user before they type is called a ______. To keep the answer, store it in a ______, a named storage space in the program. Storing an answer looks like this: name = input('What is your name?').
You can print the answer on its own, or use the + symbol to ______ it to a message. To ask more than one question, store each answer in its ______ place. Ask for a name and an age, then use ______ of them in one sentence.
Whatever the user types is stored as ______, even if they type a number. To store a whole number, wrap the answer in the ______ function. Common mistakes include writing Input or imput, not storing the answer, and missing quotation marks or ______.
Log in or sign-up to access the word drop
Don't have a login?
You can still revise this topic