在Python 裡,除了可以使用基本功能串接字串,也可以針對不同的格式, ... for i in range(1,101): print(f'{i:03d}',end=' , ') ''' 001 , 002 , 003 , 004 , 005 ...
確定! 回上一頁