py
py
1. WHAT IS PYTHON?
EXAMPLE
Python was designed for readability, and has some similarities to the English language with influence
from mathematics.
Python uses new lines to complete a command.
Python relies on indentation, using whitespace, to define scope; such as the scope of loops,
functions and classes.
Comments start with a #, and Python will render the rest of the line as a comment:
In Python, variables are created when you assign a value to it. Python has no command for declaring a
variable. x=5
y = " BAPUJI POLYTECHNIC "
A variable can have a short name (like x and y) or a more descriptive name (age, carname, total_volume).