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.
8 results
Quiz
Free beginner quiz on Python for loops: 15 questions on lists, strings, range(), enumerate(), totals and break, with instant answers.
Quiz
Free beginner quiz on Python while loops: 15 questions on conditions, counters, infinite loops, break and continue, 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
…questions on keys and values, get(), in, pop(), update(), loops and nested dictionaries. Instant answers.
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
…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…
Quiz
…Leaving a function early with return : inside an if , a loop or nested loops Using a returned value straight away, and returning one of two values with a conditional expression How it works 15…
Quiz
…in one function Reading keyword arguments with get() and looping over them with items() Unpacking a tuple, a string or a dictionary into a call with * and ** Passing *args and **kwargs on to another…