Learn Basic python in Hindi or Nepali / How to code python in Devnagari fonts ??


 Hello Guys ? 


Do you want to learn python but unable to understand coding ??

Then you are in  the right place because 

Today we will show you how you can code easily using your own language that is either hindi or Nepali or any other languages . 

But for the examples we will be using the hindi laguages. 

But Before starting the tutorials .

You need to install and set up the python ???

Oh what You donot have pc ??

No problems ???
You can install python in your smartphone also if you want to know how to install python in smartphone checkout our website with  this link

 https://theabsolutejournal.blogspot.com/2023/01/how-to-install-and-run-python-in.html



Now if you already have install python on smartphone then lets move ahead ..

so in this tutorial we will create the program print the words in a loop using hindi languages;

so let's get started?

first of all declare the variable and constants in hindi languages as given below

# -*- coding: utf-8 -*-
# python 3.x

बयान1 = 'नमस्ते!'
#declare another variable 
बयान2 = 'मेरा नाम चंकी पाठक है!'
#and another 
बयान3 = 'मैं भारत से हूँ '
##so we have created 3 variables in hindi now lets store them using array
वाक्य = [बयान1, बयान2, बयान3]
#Now let s write the conditonal statemnets using for loop 
for बयान in वाक्य:
    print(बयान)
#in this way we can print the output so first of write all above code and save it giving any name like hello.py 
#Now run the code using the cmd in your terminal as python hello.py
booom now you have succesfully print the result as
'नमस्ते!''मेरा नाम चंकी पाठक है!''मैं भारत से हूँ '

In this way you can code the python in hindi or nepali  also 
For information checkout the documentation of python using official site of python using the given link
https://wiki.python.org/moin/HindiLanguage
If you encounter any problems do not forget to comments below I will reply it as soon as possible
Thank your ?? 

Post a Comment

Previous Post Next Post