Python is a complicated language. If you read this, you might be able to solve the next and first python problem that I will post shortly. Sadly, I still am learning Python. A few kinds of loops are:
for x in range(t*):
*t represents any number (not including fractions, decimals, and Infinity)
This loop will repeat t times.
will just repeat Infinite times because there is no condition to apply to. But
a = 0
a += 1
if a = 10:
is the same as
for i in range(10)
because the a += 1 slowly will go to ten and then the if a = 10:
but before the condition comes the action (print('Brilliant')) so right after the tenth time 'Brilliant' is printed out, the 'break' will break the cycle.