+ - Answers addition (i.e. 4+5 = 9)
- - Answers subtraction (i.e. 9-5 = 4)
* - Answers multiplication (3*5 = 15)
/ and // - Answers division (6/3 = 2.0; 6/4 = 1.5; 6//4 = 1)
% - Answers mod/remainder (5%3 = 2)
** - Answers exponentiation (3**2 = 9)
+ (strings) - Answers concatenation ("ab" + "cd" = "abcd")
* (strings) - Answers repeat ("xo"*3 = "xoxoxo")
== - Answers is equal to (3 == 3 is True)
!= - Answers is not equal to (3 != 3 is False)
>= - Answers is greater than or equal to (4>=3 is True)
<= - Answers is less than or equal to (4<=3 is False)
> - Answers is strictly greater than (4>3 is True)
< - Answers is strictly less than (4<3 is False)
not - Answers negates the value of a bool (not x==5 is False)
and - Answers returns True only if both statements are True (x>3 and x<7 is True if x==5)
or - Answers returns True if at least one statement is true (x>3 or x>7 is True if x==5)
int(x) - Answers makes x an integer --> int(5.8) = 5; int("123") = 123; int("abc") = error
float(x) - Answers makes x a decimal --> float("2.46") = 2.46; float(4) = 4.0; float("abc") = error
str(x) - Answers makes x a string --> str(432) = "432";
type(x) - Answers returns type of x --> type(1) = int; type(1.2) = float
s[x] - Answers returns the index of a character (i.e. colorful: s[0] = 'c', s[-3] = 'f'
s[x:y] - Answers splices and returns parts of string between indexes (i.e. colorful: s[4:-1] = 'rfu')
.find(str) - Answers finds index of first occurrence, -1 if not there (i.e. s = 'colorful': s.find('o') = 1)