Python's break
statement causes the surrounding loop to stop.
Python also allows an else
to be added to the end of the loop, which will only be run if the loop did
not break. This construct is typically used for loops that are searching for something and can break when they find
it, but need additional code in case they never find what they are looking for. For example:
for i in range(10):
if i ** 3 == 500:
print(f'The cube root of 500 is {i}.')
break
else:
print('The cube root of 500 is not an integer between 0 and 9.')
Fill in the placeholders so that the actual outputs match the expected outputs.