Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
Write a program that prints your name.
Think about how you would output a string.
Display the sum of 3 and 5.
Remember to use the print function.
Which function do you use to print output in Python?
This function is commonly used for displaying text.
True or False: The syntax to get user input is getInput().
Remember, it's a different function name.
Write a program that takes three user inputs and displays their average.
Remember to convert inputs to float for accurate averages.
Create a program that prints the factorial of a given number using loops.
Think about multiplying numbers in a sequence.
5 more questions in this section. Enroll free to practise them all.
Enroll free