Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
100% found this document useful (1 vote)
2K views

Python Zero To Mastery

Python is an interpreted programming language that can be used via an online code editor or by downloading a translator. It uses an interpreter to translate code line by line into binary rather than compiling the entire file at once like other languages. Common commands in Python include print() to output text, input() to prompt for user input, and defining variables of different types like integers, floats, booleans, strings, lists, tuples, sets and dictionaries.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
2K views

Python Zero To Mastery

Python is an interpreted programming language that can be used via an online code editor or by downloading a translator. It uses an interpreter to translate code line by line into binary rather than compiling the entire file at once like other languages. Common commands in Python include print() to output text, input() to prompt for user input, and defining variables of different types like integers, floats, booleans, strings, lists, tuples, sets and dictionaries.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Python

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

You might also like