回答編集履歴

1

修正

2021/06/17 15:18

投稿

退会済みユーザー
test CHANGED
@@ -1,6 +1,6 @@
1
1
  ```python
2
2
 
3
- fmt = lambda x:','.join(str(x)[::-1][i*3:(i+1)*3] for i in range(len(str(x))//3+1))[::-1]
3
+ fmt = lambda x:','.join(str(x)[::-1][i*3:(i+1)*3] for i in range((len(str(x))+2)//3))[::-1]
4
4
 
5
5
 
6
6