📜  计算在 python 代码示例中打印了多少个循环

📅  最后修改于: 2022-03-11 14:46:35.141000             🧑  作者: Mango

代码示例1
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 ... ")