2023, 100%
var1, var2, var3 = 1, 2, 3
multiple variable assignment
12
integer
1.2
float
'twelve'
string
"twelve"
string
True or False
Boolean value
type()
determines type of an object (integer, boolean, etc)
int()
converts to integer object
float()
converts to float object
str()
converts to string object
print()
displays a message
+
addition (integer) or concatenation (string)
-
subtraction
**
power of
%
modulus, remainder
/
division, always results in float
//
division, always results in integer
=
assignment operator
+=
reassignment operator, adds
-=
reassignment operator, subtracts
*=