如何创建一个无限while循环



我需要更改下面的代码,使while循环永远不会停止。

我该换什么?

count = 0
while (count < 9):
print ('The droid count is:', count)
count = count + 1
print ("That's all the droids we have!")
count = 0
while True:
print ('The droid count is:', count)
count = count + 1
while (8<9):
while (True):

任何始终计算为True的条件。

最新更新