Open In App

How to print Odia Characters and Numbers using Python?

Improve
Improve
Like Article
Like
Save
Share
Report

Odia(ଓଡ଼ିଆ) is an Indo-Aryan language spoken in the Indian state of Odisha. The Odia Script is developed from the Kalinga alphabet, one of the many descendants of the Brahmi script of ancient India. The earliest known example of Odia language, in the Kalinga script, dates from 1051.

Vowels:
ଅ ଆ ଇ ଈ ଉ ଊ ଋ ୠ ଏ ଐ ଓ ଔ

Consonants:
କ ଖ ଗ ଘ ଙ ଚ ଛ ଜ ଝ ଞ ଟ ଠ ଡ ଢ ଣ ତ ଥ ଦ ଧ ନ ପ ଫ ବ ଭ ମ ଯ ର ଲ ଳ ଶ ଷ ସ ହ ୟ ୱ

Numbers:
୦ ୧ ୨ ୩ ୪ ୫ ୬ ୭ ୮ ୯

Prerequisite

Before printing odia characters and numbers one has to install odia library. One can install odia library using pip command.

pip install odia

Printing odia characters using Python

One can print the odia vowels using odia.vowels() and using odia.consonants() can print odia consonants.
Example:




# Python program to print odia characters
  
# Import odia library
import odia
  
# Print vowels
print(odia.vowels)
  
# print consonants
print(odia.consonants)


Output:

[‘ଅ’, ‘ଆ’, ‘ଇ’, ‘ଈ’, ‘ଉ’, ‘ଊ’, ‘ଋ’, ‘ୠ’, ‘ଏ’, ‘ଐ’, ‘ଓ’, ‘ଔ’]
[‘କ’, ‘ଖ’, ‘ଗ’, ‘ଘ’, ‘ଙ’, ‘ଚ’, ‘ଛ’, ‘ଜ’, ‘ଝ’, ‘ଞ’, ‘ଟ’, ‘ଠ’, ‘ଡ’, ‘ଢ’, ‘ଣ’, ‘ତ’, ‘ଥ’, ‘ଦ’, ‘ଧ’, ‘ନ’, ‘ପ’, ‘ଫ’, ‘ବ’, ‘ଭ’, ‘ମ’, ‘ଯ’, ‘ୟ’, ‘ର’, ‘ଳ’, ‘ଲ’, ‘ଵ’, ‘ଶ’, ‘ଷ’, ‘ସ’, ‘ହ’, ‘କ୍ଷ’, ‘ଜ୍ଞ’]

Printing odia numbers using Python
One can print the odia numbers using odia.numbers().
Example:




# Python program to print odia numbers
  
# Import odia library
import odia
  
# Print numbers
print(odia.numbers)


Output:

[‘୦’, ‘୧’, ‘୨’, ‘୩’, ‘୪’, ‘୫’, ‘୬’, ‘୭’, ‘୮’, ‘୯’]



Last Updated : 10 Jul, 2020
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads