题解 | 添加逗号
添加逗号
https://www.nowcoder.com/practice/f51c317e745649c0900996fd3f683aed
n = input()
m = n[::-1]
count = 0
s = ""
for i in m:
count += 1
if count % 3 == 0 and count != len(m):
s += i + ","
else :
s += i
print(s[::-1])

