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.
What is the output of: print("Hello, World!")?
Consider what print statements do.
Assign your name to a variable called name and print it. What will you write?
Remember to use quotes around string values.
What is the primary advantage of Python's syntax?
Think about why beginners prefer Python.
True or False: Lists are immutable in Python.
Remember the characteristics of lists and tuples.
Write a program that accepts a number from the user and tells if it's even or odd. Use input(), conditionals, and output.
Think about how you can determine even and odd numbers.
Create a function that takes a list of numbers and returns the largest number. Write the code implementing it.
Consider using the built-in max function.
4 more questions in this section. Enroll free to practise them all.
Enroll free