Python Notes: Python environment is called a Lab.
- Functions: Instructions given to a computer.
i.e: print() , input() , type(), int(), str()
- Variable: data stored in a code for later use.
i.e: name = *****
NB:
\n : New line for strings
* : Multiplication sign
Space: is a character
#: Comments
""" """:
Mathematics:
Add: +
Sub: -
Mult: *
Div: /
Exp: **
Integer: whole number
Float: Decimals
NB:
\n : New line for strings
* : Multiplication sign
Space: is a character
#: Comments
""" """:
Mathematics:
Add: +
Sub: -
Mult: *
Div: /
Exp: **
Integer: whole number
Float: Decimals