Formatar número python com vírgulas
num = int(input()) #1234567
print(f"{num:,}") #1,234,567
#Hope this helps:)
bokaif
num = int(input()) #1234567
print(f"{num:,}") #1,234,567
#Hope this helps:)
>>> num = 10000000
>>> print(f"{num:,}")
10,000,000