Lesson 10: Comparing Values in Python
How can Python tell whether two scores match, or whether one number is bigger than another? Open Full Article...
Home schooling resources for children and parents.
How can Python tell whether two scores match, or whether one number is bigger than another? Open Full Article...
This guide explains how Python chooses between several possible paths in one conditional structure. Open Full Article...
This guide supports teaching Python’s `else` and `elif` clauses as part of one connected decision. Open Full Article...
What if a program needs to respond to several possible situations instead of giving only a yes-or-no response? Open Full Article...
This guide explains how Python uses conditions to make decisions. Open Full Article...
This guide supports a home-educated learner aged 11 to 16 in understanding how Python uses conditions to choose between actions. Open Full Article...
How can a Python program choose between different actions when a game score changes? A fictional game provides a clear setting for examining this question. Open Full Article...
This guide explains how Python treats text, integers and floating-point values as different types. Open Full Article...
This guide supports teaching Python type conversion, building on Lesson 6's input() function. Open Full Article...
Why does Python treat "10" + "5" as "105" instead of 15? The answer is that values which look similar on the screen can be different kinds of information. Open Full Article...