← back to unit
Medium
# if else
Pass the Double-Locked Door
A dark tunnel has a door that needs both a key and a torch to pass through safely. 🔑🔦
You're given whether you have a key, then whether you have a torch — each printed as true or false. Print You proceed through the tunnel! only if both are true. Otherwise print It's too dark, or the door won't budge..
💡 need a hint?
cond-double-guard.py🔒 given lines are locked — write your code in between
loading...