Open In App

How to print Odia Characters and Numbers using Python?

Last Updated : 10 Jul, 2020
Like Article

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.

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

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

୦ ୧ ୨ ୩ ୪ ୫ ୬ ୭ ୮ ୯


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.

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


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

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

# Python program to print odia numbers
# Import odia library
import odia
# Print numbers


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

Similar Reads

Python program to print k characters then skip k characters in a string
Given a String, extract K characters alternatively. Input : test_str = 'geeksgeeksisbestforgeeks', K = 4 Output : geekksisforg Explanation : Every 4th alternate range is sliced. Input : test_str = 'geeksgeeksisbest', K = 4 Output : geekksis Explanation : Every 4th alternate range is sliced. Method #1 : Using loop + slicing In this, we perform task
5 min read
Python | Convert list of strings and characters to list of characters
Sometimes we come forward to the problem in which we receive a list that consists of strings and characters mixed and the task we need to perform is converting that mixed list to a list consisting entirely of characters. Let's discuss certain ways in which this is achieved. Method #1 : Using List comprehension In this method, we just consider each
6 min read
Print Even and Odd Index Characters of a String - Python
Given a string, our task is to print odd and even characters of a string in Python. Example Input: GeeksforgeeksOutput: Gesoges ekfrekUsing Brute-Force Approach to get even and odd index charactersFirst, create two separate lists for even and odd characters. Iterate through the given string and then check if the character index is even or odd. Even
2 min read
Ways to print escape characters in Python
Escape characters are characters that are generally used to perform certain tasks and their usage in code directs the compiler to take a suitable action mapped to that character. Example : '\n' --> Leaves a line '\t' --> Leaves a space C/C++ Code # Python code to demonstrate escape character # string ch = "I\nLove\tGeeksforgeeks&
2 min read
Python code to print common characters of two Strings in alphabetical order
Given two strings, print all the common characters in lexicographical order. If there are no common letters, print -1. All letters are lower case. Examples: Input : string1 : geeks string2 : forgeeks Output : eegks Explanation: The letters that are common between the two strings are e(2 times), g(1 time), k(1 time) and s(1 time). Hence the lexicogr
2 min read
Python | Remove all characters except letters and numbers
Given a string, the task is to remove all the characters except numbers and alphabets. String manipulation is a very important task in a day to day coding and web development. Most of the requests and responses in HTTP queries are in the form of Python strings with sometimes some useless data which we need to remove. Remove all characters except le
4 min read
Python Program to Converts Characters To Uppercase Around Numbers
Given a String, the following program converts the alphabetic character around any digit to its uppercase. Input : test_str = 'geeks4geeks is best1 f6or ge8eks' Output : geekS4Geeks is besT1 F6Or gE8Ek Explanation : S and G are uppercased as surrounded by 4.Input : test_str = 'geeks4geeks best1 f6or ge8eks' Output : geekS4Geeks besT1 F6Or gE8Ek Exp
8 min read
Python Program to print all the numbers divisible by 3 and 5 for a given number
Given the integer N, the task is to print all the numbers less than N, which are divisible by 3 and 5.Examples : Input : 50Output : 0 15 30 45 Input : 100Output : 0 15 30 45 60 75 90 Approach: For example, let's take N = 20 as a limit, then the program should print all numbers less than 20 which are divisible by both 3 and 5. For this divide each n
2 min read
Python Program to Print all Happy Numbers Between 1 and 100
A Happy Number n is defined by the following process. Starting with n, replace it with the sum of the squares of its digits, and repeat the process until n equals 1, or it loops endlessly in a cycle that does not include 1. Those numbers for which this process ends in 1 are Happy Numbers, while those that do not end in 1 are unhappy numbers. Exampl
4 min read
Python Program to Print All Pronic Numbers Between 1 and 100
Pronic numbers are also called oblong numbers or rectangular numbers. They are produced by multiplying two successive integers. Mathematically, it can be written as n * (n + 1), where n is a positive integer. For instance, 6 is a pronic number because it equals 2 * (2 + 1). Similarly, when you multiply 3 by 4 it equals; hence,12 is another pronic n
2 min read
Article Tags :
Practice Tags :