Python. History of python Python was conceived in the late 1980s and its implementation was started...

8
python

Transcript of Python. History of python Python was conceived in the late 1980s and its implementation was started...

Page 1: Python. History of python  Python was conceived in the late 1980s and its implementation was started in December 1989 by Guido van Rossum at CWI in the.

python

Page 2: Python. History of python  Python was conceived in the late 1980s and its implementation was started in December 1989 by Guido van Rossum at CWI in the.

History of python

Python was conceived in the late 1980s and its implementation was started in December 1989 by Guido van Rossum at CWI in the Netherlands as a successor to the ABC programming language capable of exception handling and interfacing with the Amoeba operating system. Van Rossum is Python's principal author, and his continuing central role in deciding the direction of Python is reflected in the title given to him by the Python community

Page 3: Python. History of python  Python was conceived in the late 1980s and its implementation was started in December 1989 by Guido van Rossum at CWI in the.

Python in industry

Python is used in many games all across the bored like fifa and call of duty. Many big gaming company's use python to make there games like decision making. And if you get an achieve ment

Page 4: Python. History of python  Python was conceived in the late 1980s and its implementation was started in December 1989 by Guido van Rossum at CWI in the.

What is the print function

The print function lets you put things into your document so if you wanted to do a maths game to start it you would go . Print(-----) etc

Page 5: Python. History of python  Python was conceived in the late 1980s and its implementation was started in December 1989 by Guido van Rossum at CWI in the.

If statement

The if statement in python is used for decision making. Like if a character had to decide what to do there would have to put an if statement into the program

Page 6: Python. History of python  Python was conceived in the late 1980s and its implementation was started in December 1989 by Guido van Rossum at CWI in the.

Else statement

else statement can be combined with an if statement. An else statement contains the block of code that executes if the conditional expression in the if statement resolves to 0 or a FALSE value.

The else statement is an optional statement and there could be at most only one else statement following if .

Page 7: Python. History of python  Python was conceived in the late 1980s and its implementation was started in December 1989 by Guido van Rossum at CWI in the.

Variables

Variables can store all sorts of things, not just numbers. A typical other thing you want to have stored often is a string - a line of text. Strings are indicated with a starting and a leading " (double quote). You’ll learn about this and other types, as those are called in Python, and what you can do with them later on.

Page 8: Python. History of python  Python was conceived in the late 1980s and its implementation was started in December 1989 by Guido van Rossum at CWI in the.

Math operators