def main(): #打印1到100的整数 i=1 while i<=100: print(i) i+=1if __name__=='__main__': main() 转载于:https://www.cnblogs.com/xilige/p/10947449.html