Quiz
Python For Loop Quiz
Free beginner quiz on Python for loops: 15 questions on lists, strings, range(), enumerate(), totals and break, with instant answers.
Showing 1–10 of 19
Quiz
Free beginner quiz on Python for loops: 15 questions on lists, strings, range(), enumerate(), totals and break, with instant answers.
Quiz
Free Python quiz for beginners: 20 multiple-choice questions on print(), strings, lists, dictionaries, loops and functions, with instant answers.
Quiz
…on quotes, escape characters, sep, end, flush and f-string formatting, with instant answers.
Quiz
…(11 of 15) to pass New to conditions? Read Python If/Else for Beginners first, or run the examples: basic if statement , if-else , if-elif-else and logical operators and, or, not . After this one, try…
Quiz
…with break , and continue When to choose while instead of for How it works 15 questions: 11 with one correct answer, 4 where you select every correct answer After each question you see the correct…
Quiz
…surprises almost every beginner runs into: a second name for the same list, and methods that return None . What the quiz covers Indexing from the front and the back, slicing, len() and in Changing…
Quiz
…in every program. This free quiz has 15 short questions for beginners: how to create and name a variable, what happens when you assign one variable to another, which data type a value has, how to…
Quiz
…where UnboundLocalError comes from Blocks such as if and for , which have no scope of their own, and list comprehensions, which do Nested functions, the nonlocal keyword and the order in which Python…
Quiz
…so you can run it whenever you need it: work out the fuel for an engine burn, check whether a launch can go ahead, or turn a mass into a weight on Mars. This free quiz has 15 short questions on…
Quiz
…and how tuples compare with lists Unpacking, with * and in for loops Why tuples cannot change, and how to build a new one instead count() , index() , sorting, nested tuples and divmod() How it works…