Quiz
Python Variables Quiz
Variables are the first thing you meet in Python, and they come back in every program. This free quiz has 15 short questions for beginners: how to create and name a variable, what happens when you…
Showing 41–47 of 47
Quiz
Variables are the first thing you meet in Python, and they come back in every program. This free quiz has 15 short questions for beginners: how to create and name a variable, what happens when you…
Quiz
…15 short questions on the function you use in almost every program: printing text and numbers, quotes and escape characters, and controlling the output with sep , end , flush and f-strings. What the…
Article Mini projects
…from red, through orange, yellow, white, to blue. At first glance, this may seem counterintuitive, but temperatures closer to red are cooler, while those closer to blue are hotter. In everyday life…
Challenge
…kind differently. This challenge works in three steps. First you predict what some code prints and run it. Then you investigate how it works and modify it. Finally you make something similar yourself…
Quiz
Every program has to make decisions: launch or hold, refuel or carry on. In Python you write them with if , elif and else . This free quiz has 15 short questions that check you can follow a condition…
Challenge
…out. Document the function where Python, editors and other programmers can find it. A docstring Add a docstring to fuel_needed() : a string in triple quotes as the first line inside the function…
Article Python Fundamentals
…time and intelligence. What makes it different: Mobile-First Design That Makes Sense Large, thumb-friendly buttons right where you need them - Clear, Copy, and Run at the bottom of your screen. No…