Quiz
Python print() Quiz
Free quiz on Python's print() function: 15 questions on quotes, escape characters, sep, end, flush and f-string formatting, with instant answers.
Showing 1–10 of 12
Quiz
Free quiz on Python's print() function: 15 questions on quotes, escape characters, sep, end, flush and f-string formatting, with instant answers.
Quiz
…Python quiz for beginners: 20 multiple-choice questions on print(), strings, lists, dictionaries, loops and functions, with instant answers.
Quiz
…Quiz or the Python While Loop Quiz . What does this code print? What does this code print? What does this code print? Given stops = ["Moon", "Mars"] , which lines change stops to ["Moon", "Mars"…
Quiz
…Loop Quiz or the Python If/Else Quiz . What does this code print? What does this code print? Which statements about this code are true? What does this code print? What happens when this code runs?…
Quiz
…you can predict how many times a loop runs and what it prints. What the quiz covers Looping over lists and strings range() with a start, a stop and a step, including countdowns Adding up and counting…
Quiz
…Quiz or the Python Strings Quiz . What does this code print? What does this code print? Given status = "ready" , which of these lines run without an error? What happens when this code runs? Given fuel…
Quiz
…count, replace and split . After this one, try the Python print() Quiz or the Python Data Types Quiz . What does this code print? What does this code print? What happens when this code runs? Which of…
Quiz
…of a division, so that 14 ? 4 gives 2? What does this code print? What does this code print? Which expression is True exactly when the whole number n is even? What does this code print? It splits 3725…
Quiz
…. Which of these values is an int ? What does this code print? Which of these expressions give a float ? What does this code print? What does this code print? Which of these expressions are True ?…
Quiz
…and global variables . After this one, try the Python print() Quiz or the Python Basics Quiz . Which lines create a variable total that holds the number 10? What does this code print? What happens…