I have a number like: 100 I am showing here as it. But when I am trying to show a number as 1000 then want to display as 1,000.& so on like 1,00,000 likewise.
Below structure
Number Formatted As
10 10
100 100
1000 1,000
10000 10,000
100000 1,00,000
1000000 10,00,000
10000000 1,00,00,000
100000000 10,00,00,000
1000000000 1,00,00,00,000
10000000000 10,00,00,00,000
All the above things I want to do in python.
I thought of using regex but couldn't get an way how to proceed.
Any one having any idea?