This program can convert any given number into the format of Indian Number system. This program is done using python. Basically first the input is passed to a function fix() in which it reverse the number, then if the number’s length is less then 3 then it is directly printed or else for first 3 digits of the reversed string a comma is printed and at every even position the comma is printed !
elif(i>2 and i<len(x)-1):
for i in range(0, input()):
Found Suggestions ?
Ping them here !
Latest posts by Bikash Panda (see all)
- OSMC on Raspberry PI with Setup and Control using Android App - July 7, 2017
- DHT12 Interfacing with Raspberry Pi using Pi4J - June 19, 2017
- Send data using MQTT from Raspberry Pi with JAVA - June 12, 2017