回答編集履歴
1
修正
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
|
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
|
|