n = 0 while n < 10: n+=1 if n != 7: print(n)
python学习:while循环,输出1到10,除了7
最新推荐文章于 2024-03-24 11:05:39 发布
n = 0 while n < 10: n+=1 if n != 7: print(n)