BREAKOUT MISTERY- For LOOP (Python)
Sandy BM
Created on September 12, 2024
More creations to inspire you
NERVOUS SYSTEM ESCAPE ROOM
Escape games
CEVICHE ESCAPE GAME
Escape games
THUNBERG CASE. TIME SOLDIERS
Escape games
SPACE INVADERS GAME
Escape games
A WORLD OF SPORTS
Escape games
HARRY POTTER ESCAPE GAME
Escape games
MISSION SANTA: MATH BREAKOUT
Escape games
Transcript
Iterative Mystery
Sandra E. Barajas
Start
Intro
You have entered a dark and unknown world from which you must escape before it is too late and you become trapped forever. Complete each mission correctly and enter the key that will help you escape this mysterious place. Tip: In each mission, write down each question and each answer you find.
Continuar
Be cautious!
Every mission is crucial. Keep your focus on every detail. Make sure to jot down every clue you gather during each mission. Always record your answers for success!
Continuar
Mission 1
Blocked
Blocked
Blocked
Answer the question and you will discover the path to the next stage.
Repetitive structures are not the best option
Only selective structures are the best option
Repetitive structures are a good option
Problem:It is necessary to list in descending order the numbers that are multiples of 3 from 201 to 51. Take a photo/screenshot of this screen and answer the following: Can a repetitive structure be used to solve the problem??
Mission 2
Completed
Blocked
Blocked
Drag and discover
Reading numbers
Calculation of the residue / module
Printing numbers
In the problem posed by the mystery, what operation is repeated?
Mission 3
Completed
Completed
Blocked
No need to do repetitions
The number of repetitions is fixed
Is there a fixed number of repetitions to perform?
The number of repetitions is indefinite
Repetitions start at number 3
Repetitions start at number 51
Repetittion start at number 201
At what value do repetitions start?
Repetitions end in 3
Repetitions end at 201
Repetitions end at 51
What value do the repetitions end at?
216
Continue
Remember the code
Completed
Mission 4
Completed
Completed
for i in range(201,51,-3): print(i)
for i in range(51,201,3): print(i)
for i in range(201,50,-3): print(i)
What is the correct for structure that will help us solve the problem posed?
TIP: A counter can have any increment or decrement. For example, if the counter is i, it can be decremented by 4:-4.
Continue
8%5 + 129 // 10 - 2**2 + (13 - 7)
Completed
Completada
Completada
Completed
Completed
Completada
Completed
Completada
Continue
Congratulations, you're almost out!
Now complete the code that solves the problem. As comments at the beginning of your code, place the questions you answered with the respective answers that helped you complete the mission.Don't forget to use functions
Wrong answer!
Try again