Python Programming: what is Python?

Python Programming: what is Python?

 what is Python? Python is a programming This program is simply telling the computer.

 
Python Programming

Python is a programming language. 
It was created by Guido van Rossum, ido van Rossum started implementing Python as a hobby project in 1989. Christmas holidays. 
by dawn is named after a BBC comedy show Monty Python's Flying Circus. 
The language is not named after this wonderful snake. 
To get Python, go to www.python.org and download and install the latest version of Python. 
Python is free software. I'm using Python 3.5 point zero, the very latest version. 
Python is a simple and very powerful general purpose computer programming language. 
If you want to learn programming, or if you have never programmed before, then learning Python is a very good idea. 
Python is very easy to learn compared to other languages, or Python programs are very readable. 
This is my Ubuntu new slash Linux operating system, desktop or my desktop to open Python open terminal.
the command line shell of Linux press Ctrl Shift n plus couple of times to zoom in the window or you can go to the menu view on top and click on zoom in and type Python three and hit enter key. 
Three greater than symbol is called a chevron.
 And we can understand by seeing a cursor blinking after a chevron that we are in the Python interpreter.
 If you are on a Mac, you can open Python from Terminal.
 If you are on a Windows machine, I strongly recommend using Python idle the integrated development environment of Python.

which is available from dub dub dub.python.org 

you can also use any text editor or any ID of your choice Hello World program. 
This is the first program we write when we are learning a new programming language. 
This program is simply telling the computer to display the text hello world on the screen type print hello world and hit Enter key hello world should be in course we can see hello world render on the screen. 
Welcome to the world of Python programming. or programming in general if you have never programmed before.
in the about program line.
print is a function and HelloWorld is a string. Let's try the same print function with some other string.

Print hot coffee. 


See hot coffee is splendid. 
What if we want to store the HelloWorld program in the secondary memory or hard disk so that we can use it again in the future in the terminal and typing nano space hello world dot p y Python program file extension is dot p y. I'm using a simple text editor called nano to make the Hello World program. Simple simply type print hello world. 
Save an exit from the nano editor.
 To save press Ctrl N x and then press Y for yes ls command is for listing the directory we can see the HelloWorld program in the directory or by DUI, we can see the new file in the folder.

 I'm opening it in G text editor so that you can see.


I'm going to execute the Python program we just brought type Python three space file name dot p y here hello world dot p y basic arithmetic operations. 
Without basic arithmetic, programming is nothing but believe me, it's not that difficult. Let's open Python interpreter again 15 plus 23 and hit enter key.
 See the answer printer back. 
This is arithmetic addition operation. 
Let's do subtraction 50 minus 30 The answer is 20 multiplication to start six, we use asterisk or star symbol for multiplication.

What if we are using star star two star three is six, but two star star three is eight. 
This is called the exponentiation operation.
 For 10 star star four is 10,000 or 10 raise to the power four is 10,000.
 Division 15 divided by six is 2.5 modulo division, what is 15%? A symbol six it is three because that is the remainder after the division. 
Not that it is not slash but the person is symbol.

25 module or division seven and the answer is four.

 Let's review. 

Python is a programming language creator is gado van Russo, named after a BBC comedy show Hello World program in Python is print HelloWorld.
 Python program file extension is dot p y. basic arithmetic operations. 
We just learned our addition, subtraction, multiplication, division exponentiation and modulo division. 
If you have any doubts, 
Python Bitwise Operators.

 


Post a Comment

0 Comments