#Code by MrRobot
#This simple program convert English Digits to Persian Digits
number = input()
dicte = {
'1':'۱',
'2':'۲',
'3':'۳',
'4':'۴',
'5':'۵',
'6':'۶',
'7':'۷',
'8':'۸',
'9':'۹',
'0':'۰'
}
to_per = ''
for item in number:
if item in dicte.keys():
to_per += dicte[item]
else:
to_per += item
print(to_per)
To embed this program on your website, copy the following code and paste it into your website's HTML: