True False == != and or not elif

Chapter 8: The Gates of Logic

Before you stands the Gate of Logic, sealed tight. It responds not to force, but to thought.
Crystal panels embedded in its surface flicker with shifting symbols, waiting for answers shaped by clarity and reason.

The air is charged with tension. Statues of ancient code-scribes watch silently, their stone eyes glowing faintly. Inscriptions surround the gate — etched reminders: “Decisions shape destiny.” and “Only true logic opens the way.”

Suddenly, the panels light up with riddles — some simple, some deceptive. Branching paths of code form before your eyes, splitting into truth and falsehood. To pass, you must master the tools of decision: if, else, elif, and Boolean logic.

There is no brute force here. Only precise reasoning, careful evaluation, and crystal-clear logic will unlock the gate.
Will you falter in ambiguity, or will your mind become the key?

Gates of Logic Illustration

🔍 Puzzle 1: Choose the Path

Check if a number is greater than 10. If it is, print “Big!”



    
    
    

Hint: Try if num > 10: followed by print("Big!")

⚖️ Puzzle 2: Truth or Not

Check if a word is "Python". If it is, print “Correct!”, else print “Try again!”



    
    
    

Hint: Use if word == "Python": and else:

🔀 Puzzle 3: The Gate Code

Check if a number is even or odd. Print “Even” or “Odd”.



    
    
    

Hint: Use if code % 2 == 0: and else: to choose.

🎖️ Rune of Reason

The gate clicks open as your logic flows true. You hold the Rune of Reason — the mark of one who chooses wisely.