2020年3月14日 星期六

產生反向數列

  
 for i in range(1,10):
     print(i,end='')
 print()
 for i in reversed(range(1,10)):
     print(i,end='')
  

沒有留言:

張貼留言