Question: Consider the following code: EXIT _ STRATEGY = Run! PROMPT _ TEXT = Would you like to continue? You could run... DANCE = 'Renegade'

Consider the following code:
EXIT_STRATEGY = "Run!"
PROMPT_TEXT = "Would you like to continue? You could run... "
DANCE = 'Renegade'
response = input(PROMPT_TEXT)
what_i_do = DANCE
while response != EXIT_STRATEGY:
what_i_do += DANCE
print(f'Ok... I do {what_i_do}!!!')
response = input(PROMPT_TEXT)
print(DANCE)
What is the sentinal variable? Be sure to use include capitals and spaces where appropriate.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!