Quiz
Python Tuples Quiz
…its items. This free quiz has 15 short questions on creating, reading and unpacking tuples in Python, on what you can and cannot do with them, and on the comma that makes a tuple in the first place…
Showing 11–20 of 21
Quiz
…its items. This free quiz has 15 short questions on creating, reading and unpacking tuples in Python, on what you can and cannot do with them, and on the comma that makes a tuple in the first place…
Quiz
…under the planet. This free quiz has 15 short questions on creating, reading, changing and looping over dictionaries in Python, and on the mistakes beginners make most often with keys. What the quiz…
Quiz
…sensor readings. This free quiz has 15 short questions on creating, changing and sorting lists in Python, and on two surprises almost every beginner runs into: a second name for the same list, and…
Quiz
…can change a variable outside it. What the quiz covers Creating variables and the rules for their names Reassigning, copying a value and swapping two variables Shortcuts such as += and *= Data types…
Article Python Fundamentals
…in Python can store different types of data. In Python, creating a variable is as simple as giving it a name and assigning a value using the equals sign (=). It is therefore a note with a name and…
Quiz
…more (11 of 15) to pass Each topic has a runnable example: creating simple functions , functions with parameters , return statement basics and variable arguments with *args . After this one, try the…
Challenge
…flight computer keeps one variable up to date instead of creating a new one for each step. Predict how -= and += change a value, follow the fuel through a whole sequence, then track a battery…
Quiz
…more (11 of 15) to pass Each topic has a runnable example: creating and joining strings , string indexing and slicing , upper, lower and strip and find, count, replace and split . After this one, try…
Article Python Fundamentals
…programming early on. You'll be drawing shapes and creating simple animations while learning loops and functions, which keeps things visually interesting. The math isn't overwhelming either - basic…
Article Python Fundamentals
…for a journey that combines coding, problem-solving, and creativity! 1. Introduction to Python Programming Python isn't just another programming language—it's a powerful tool that opens doors to…