Skip to content
This repository was archived by the owner on Sep 22, 2021. It is now read-only.

Commit f2a83e4

Browse files
committed
Changed comma to dot
1 parent c1806b4 commit f2a83e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
class Solution:
22
def thousandSeparator(self, n: int) -> str:
33
num = n
4-
ans = f'{num:,}'
4+
ans = f'{num:,}'.replace(',', '.')
55
return ans
66

77

88
if __name__ == '__main__':
99
x = Solution()
10-
answer = x.thousandSeparator(2**31)
10+
answer = x.thousandSeparator(1234)
1111
print(answer)

0 commit comments

Comments
 (0)