Fun, editable, runnable. Change the code, then press โถ Run!
Shows text on the screen.
A box with a name that holds a value.
A pop-up appears. Type your answer and press OK.
Input is always text. Use int() to turn it into a number you can do maths with.
Repeat code without typing it lots of times.
Do different things depending on the answer.
Pick a random whole number. Great for dice and games. Run it a few times!
Pick a random item from a list.
Python is a great calculator.
These questions answer True or False. They are what if uses to decide.
You can compare words too. Python checks them letter by letter, like a dictionary.
Join True/False values with and, or, not.
They are handy inside if.