105k views
3 votes
mystery_value = 87 #You may modify the lines of code above, but don't move them! #When you Submit your code, we'll change these lines to #assign different values to the variables. #Write a while loop that continues to add 9 to mystery_value #until mystery_value is greater than 100. Each time 9 is #added, print the *new* value of mystery_value. For example, #with mystery_value = 87, your code should print 96 and 105. #Add your code here!

User Salini L
by
7.2k points

1 Answer

1 vote

Answer:

while mystery_value < 100:

mystery_value += 9

print(mystery_value)

User Strash
by
7.5k points