How to Learn Python

How to Learn Python

Top 10
27 Aug 2020
Give a thumbs up

Python code Calculator

What is Python

Python is Interpreted, Object Oriented and high level programming language.Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together. You can use modules and packages in Python. 

Programmers often fall in love with Python due to the productivity provided in Python Python's programs are easy to debug and do not cause bugs or partitions.

Python for Beginners

Welcome! In your Python programming language. If you are new to programming then Python is just for you as it is a good language for beginners.

You can learn it easily. Hence the use of syntax in it is negligible. Because there are other languages ​​such as C ++, C, C #, etc. Syntax is very much used in them. In this, beginners have difficulty in learning. And many people also quit programming. If you are experienced in programming then you can use it in a very good way. If you are new, you should start programming from now. Python is a easy programming language for beginners.


It is quite easy to install Python nowadays. And nowadays Python is already installed in Linux and Unix. And now Windows Commuter already has an installer. If you want to install Python. If you do need to install Python and aren't confident about the task you can find a few notes on the BeginnersGuide/Download wiki page, but installation is unremarkable on most platforms. 

Learn Python Programming

  To learn Python or to learn another language, you must make a program every day.

And every day you learn the functions of Python because it strengthens your skill. All this you have to do every day, you do not learn two days or three days in a week, you will not be able to learn any language from Python. Then you will feel that you are not able to teach. Then you quit programming

Will give Programming will be practiced daily when you come. You have to do programming daily.

//This function is add two numbers
def add(a, b):
    return a + b

//This function is subtract two numbers
def add(a, b):
    return a - b

//This function is multiply two numbers
def add(a, b):
    return a * b

//This function is divide two numbers
def add(a, b):
    return a + b

//PRINT any word
print("Select Option")

while true:
# Take input from the user
   option = input("Enter choice(1/2/3/4): ")
 # Check if choice is one of the four options
    if option in ('1', '2', '3', '4'):
    num1 = float(input("ENTER FIRST NUMBER = ")
    num2 = float(input("ENTER SECOND NUMBER = ")

if option === '1'
   print(num1 "+" num2 "=" add(a,b))

elif option === '2'
   print(num1 "-" num2 "=" subtract(a,b))
elif option === '3'
   print(num1 "*" num2 "=" multiply(a,b))

elif option === '4'
   print(num1 "/" num2 "=" divide(a,b))

  print("envalid input number")


Select Option

Enter choice(1/2/3/4): 3
4.0 * 5.0 = 20

Top 10
Blogger Top 10 content related post

Post a comment