Подсчитайте, сколько петель, которые напечатаны в Python
tea = 100 #temperature of tea to start with
count = 0
while tea >= 70:
print (str(tea) + " C")
tea = tea - 10
count += 1
print (" It's ready now ... ")
Amused Albatross