Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What function do we use to display output in Python?
Think about how you would tell Python to show information.
How do you write a simple program to greet the user?
What is the phrase we often use to start programs?
What does the print() function do in Python?
Think about its purpose in your program.
True or False: The same Python code can run in different environments.
Consider the flexibility of Python.
Write a Python script that greets the user by name. Ensure the program prompts the user to enter their name first.
Think about how you would ask for user input and then display it back.
Create a program that prints three different greetings, each on a new line.
How do you write multiple print statements?
4 more questions in this section. Enroll free to practise them all.
Enroll free