Introduction To

Python 3

Install Python

"https://www.python.org/downloads/"

Some general stuff...

Guido Van Rossum

Guido Van Rossum

A Dutch programmer, popularly known as the author of Python programming language. He created Python in 1989 and was thus named as "Benevolent Dictator for life". He has also worked at Google and Dropbox.

Features

Applications

Popular Libraries and Frameworks

Players of Python

Learn Python

Python Constructs

Variables and Data Types

Operators

Loops

Arrays

Python doesn't have anything like arrays but, it does provide us with Lists,  Sets, Dictionaries and  Tuples.

Functions

#demo function
def func():
    print("This is a Function!")

func()

>>This is a Function!

Fun

Facts

about

Python

Fact 1

#the python poem
import this 

>>The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts......

Fact 2

If you have ever coded in C++ or Java then you'll be familiar with braces {} but for python, there's no chance

from __future__ import braces

>>SyntaxError: not a chance 

Fact 3

Fact 4

We can’t define Infinities right? But wait! Not for Python

# Positive Infinity 
p_infinity = float('Inf') 

if 99999999999999 > p_infinity: 
	print("The number is greater than Infinity!") 
else: 
	print("Infinity is greatest") 

>>Infinity is greatest

Time to code

Introduction to Python

By pranavkhurana