PROGRAMMING LANGUAGE ( PHYTON )
Phyton is a popular programming language. It was created in 1991 by guido van Rossum.
It is used for:
- Web Development
- software Development
- Mathematics
- System scripting
What Can Phyton Do ?.
- Phyton can be used on server to create web applications.
- Phyton can be used alonside software to create workflows.
- Phyton can connect to database systems. It can also read and modify files.
- Phyton can be used to handle big data and perform complex ,mathematics.
- Phyton can be used for rapid prototyping, or for production ready software development.
- Phyton works on different platforms ( Wndows, Mac, Linux, Raspberry Pi, etc ).
- Phyton has a simple syntax similar to the English language.
- Phyton has syntax that allows developers to write programs with fewer lines than some other programming languages.
- Phyton runs on a interpreter system, meaning that code can be executed as soon it is written. This means that prototyping can be very quick.
- Phyton can be treated iin a procedural way, an Object Oriented way, or a functional way.
( Want to know more about Programming language )
GOOD TO KNOW ABOUT PHYTON..
- The most recent major version of phyton is Phyton 3, However, phyton 2 although not being updated with anything other than secuirity updates.
PHYTON Syntax..
- Phyton was designed for readability and has some similarities to the English language with influence from mathematics.
- Phyton uses new lines to complete a command, as oppposed to the other programming languages which often use semicolons or parantheses.
- phyton relies on indentation, using whitespace, to define space, such as the scope of loops, functions and classes.
Phyton Variables.
Unlike Other Programming languages, Phyton has no command for declaring a variable.
A variable is created the moment you first assign a value to it.
Example x = 5;
y = "john"
print(x)
print(y)
Variables Names..
- A variable name must start with a letter or the underscore character.
- A variable name cannot start with a number.
- A variable name can only contain alpha numeric, characters and undescores.
- Variables names are case sensitive ( all, All, and ALL are different ).
Phyton Numbers
There are three numeric types in phyton:
- int
- float
- complex
variables of numeric types are created when you assign a value to them:
x = 1 #int
y = 4.7 #float
z = 2j #complex
INT
Int or integer is a whole number, posotive or negative, without decimals of unlimited length.
Example x = 1
y = 23.56
z = -23456
print(x)
print(y)
print(z)
FLOAT
Float or "floating point number" is a number positive or negative, containing one or more decimals.
Example x = 3.6
y = 1.5.6
z = -34.25
print(x)
print(y)
print(z)
COMPLEX
Complex number are written with a "j" as the imaginary part:
Example x = 3+2j
y = 4j
z = -3j
print(x)
print(y)
print(z)
If you are interested in this and want to learn more about Internet Netwoking Programming Language and Technologies then join my whatsapp group by this link..
nice
ReplyDeletegood!!!!!!!!!!!!!!!!!!!!!!!!!!
excellent
ReplyDeletefor car removal services visit Car Removals Sydney
ReplyDelete