Python Zero To Mastery
Python Zero To Mastery
General Info’s:
Resources:
o https://replit.com [Online Python Coder and Resources]
o https://glot.io [Online Python Coder and Resources]
o https://zerotomastery.io/cheatsheets/python-cheat-sheet/?
utm_source=udemy&utm_medium=coursecontent
o https://github.com/saurabh618/All-Python-codes-of-ZTM-course-by-Andrei-
Neagoie
o https://github.com/aneagoie/ztm-python-cheat-sheet
o
Translators:
o Interpreter: It reads the code line by line and translate it to binary.
o Compiler: It reads the whole file and translate it to binary.
o Python usually use an interpreter.
o Python translator is python from “python.org”.
o Main python translator “Python” is coded in C.
Code:
Basics Commands:
print(“”) or print(‘’) will print anything between brackets.
Input(“”) or input(‘’) will input a value from the user while printing first
what’s inside the brackets.
Var=input(‘’) will input a value from the user into the variable “Var”.
Print (‘Hello” + Var) --> will print “Hello” and “The value of Var”.
Var type:
o Int
o Float
o Bool
o Str
o List
o Tuple
o Set
o Dict