PyCodePro

Previously LP16 - A website that teaches Python programming language through interactive tutorials, practice exercises, and real-world projects.

HOW TO WORK IN PYTHON IDLE


HOW TO WORK IN PYTHON IDLE




Now in The Previous Blog We Talk About The Different Modes Of Python –


Python Has two(2) Modes –
1 – Interactive Mode
2 – Script Mode


Now to work in both modes we have python IDLE –
IDLE – Integrated Development Environment


To work in python first go to www.python.org and download the python according to your operating system.


After Downloading install the python in your desktop/laptop


Then click on windows icon on your screen


After clicking windows icon search for PYTHON


When you search for PYTHON in your desktop or laptop or computer you will see many application named python.

Like – Python 3.7 or Python Module docs or Python Manuals And Python IDLE

In many of these options you should open the PYTHON IDLE


In the python IDLE You Can Write And Run The Codes
And There Is many Programs In the Python
Let Us Start With The Short Program


To Start The Programming You Should Know The Python Basics To Know Basics You Should Must See Our Post Named Getting Started With Python
You Should Must See The Post on Our Blog leatnpython16.blogspot.com.


Now Start With a Short Program –

Let Take any Variable – a and b
In the starting of any python program you should input the value of the integers, strings or float and many more-


a=input(“Enter The Value Of A”)

a(small a) is a variable

input because we have to input a value

the letters inside the double apostrophe will show in the python program

and in the last we should remember to write the print statement if print statement was not written the python will not show any output.


continue –
a=input(“Enter The Value Of A”)
b=input(“Enter The Value Of B”)
print(a+b)


suppose a user input the value of a as 2 and the value of b is 4


so the output is 24 because we did not give any particular keyword like integer or float so that if we enter the keyword integer before the input the output is 6.




Thank you For Reading Our Post I Hope You Understand The Post and for more please follow or blog and visit daily because we post new articles daily on the programing language python.


HOW TO WORK IN PYTHON IDLE HOW TO WORK IN PYTHON IDLE Reviewed by Learn Python on October 30, 2019 Rating: 5

No comments:

Powered by Blogger.