In today's lesson you have been using the print fuction to ____ text. Using only the print function your program lacked the ability to ____ with the user. You then added the ____ function to ____ the user to enter some ____. Input puts a message on the ____, it waits for the user to give a ____ and press ____, it then ____ the response as text in a ____ so you can use it in your program. print and input are examples of ____. Functions are ____ programs which are typically created to perform a single ____. Python has many ____ functions allowing you to perform a large range of ____. Variables are a way of ____ pieces of ____ in your program. When you create a variable, an area of the computer’s ____ is reserved for you and the data is ____ in it. This area of memory is now controlled by you: you can ____ data from it, ____ the data, or ____ ____ of it all together. To create a variable in Python you give it a name and make it equal to a value. This is known as assignment. For example, my_name = "Mr T" Once a ____ has been ____, it can then be used in your program. You can use print to ____ your variable to the screen. print(my_name) Notice how when using print you put the ____ of the variable between the () ____ of text. The print ____ will retrieve the value from the my_name variable and ____ it. Tip: a common problem (____ error) is to put the variable name ____ speech marks, e.g. print("____"). You can improve the message by putting the text “My name is “ in ____ of your name. for example, print("My ____ is " + my_name) Note the use of the + ____ to add the first piece of text to the ____ in the ____. ____ pieces of text together like this is known as ____.

Getting input from the user missing word starter

Leaderboard

Visual style

Options

Switch template

Continue editing: ?