Python is a high level programming language. Which has a huge in-built library . Library consists of functions and modules.
Now the question arises i.e.
1)What is function?
So, function is a group of statements , which is used to perform tasks.
for e.g. printf , scanf , etc.
def is used to define the function in the script mode of python IDLE.
- What is module?
Module is a group of functions , If we have to use sin function , tan function , cosec function , ceil function , floor function,etc .
we cannot use this directly. so by importing the math module these following mathematical functions can be used.
Now to write a program in python ,The IDLE should be used .
IDLE has two modes
1)Script mode
2)Interactive mode
SCRIPT MODE :-
Script mode is used to write the program with different colour coding for different syntaxes.
You can see the script mode in the given image below .
The program is written in the dialog box which is large in size and the program is written inside it.
Interactive mode :-
In Interactive Mode the features of python can be used for manupulating the data or the program .
Some features are that we can execute the program through interactive mode.
The program can be deleted ,updated, inserted ,etc .
So, this are the basics of the python programming language .
If you want to learn everything about python then i will be uploading a whole series of python daily. You can learn it for free!!!!!!
Comment below for full tutorial on steemit .
Thank you