How come while True statement in function doesn't allow program to terminate

后端 未结 0 381
清酒与你
清酒与你 2021-02-07 05:14

If I use the following code:

import datetime
import time

def main():
    for i in range(2):
        print("Hello World! @ :" + datetime.datetime.now().         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题