Today we seen follwoing points
- What is python
- How any program works
- How to setup python environment for coding
- What is IDE
- Diffrent sections in IDE
How python Works
So we have seen, python program runs from top to bottom and right to left
See the folllwing code.
1 #Python code
2
3 print("Hello World")
4 sum = 10 +20
5 print(sum)
#output
Hello World
30
this explains, it started processing from 1st line.
as the 1st line is a comment it will process the 1st line
2nd line is a print("Hello world")
then it printed hello world in the terminal.
next it processed 10 + 20
and moved the result in to sum
and in the last we are doing print(sum)
this will now print the result on terminal
by this we can say that
Python works from top to bottom and right to left.
setup the python environment
to setup the python environment folllwing links are important. Download Python from here Download Visual Studio Code from here I have made a short vedio on this you can find it here.