Quiz
Python Type Conversion and input() Quiz
…a ValueError Numbers kept as text: joining, comparing and counting digits What int() does to a negative float, and which values bool() turns into False Checking input with isdigit() , reading several…
4 results
Quiz
…a ValueError Numbers kept as text: joining, comparing and counting digits What int() does to a negative float, and which values bool() turns into False Checking input with isdigit() , reading several…
Quiz
…, pop() and del Looping with keys() , values() and items() Counting with a dictionary, lists inside dictionaries and nested dictionaries How it works 15 questions: 11 with one correct answer, 4 where…
Quiz
…a stop and a step, including countdowns Adding up and counting inside a loop enumerate() and range(len()) when you need positions Indentation inside the loop, break and a first nested loop How it…
Quiz
…covers Joining strings with + , repeating them with * and counting characters with len() Indexing and slicing, including negative indexes and reversing a string Case methods such as upper() and…