Base Data Types
int 1Whole numbers
float 0.1Floating numbers
complex 5 + 6jComplex numbers
str "SyntaxNut"String
bool True, False
bytes b"SyntaxNut"
Container Types
List / Array list = [1, 2, 3]
Tuple tuple = (1, 2, 3)Immutable list
Set set = {1, 2, 3}
Frozen Set set = frozenset({1, 2, 3})Immutable set
Dictionary dictionary = {"key": "value"}
Bytearray bytearray = bytearray((1,2,3))
Flow Control
if / else / elif
if expression:
    # statements
elif expression:
    # statements
else:
    #statements
while
while expression:
    # statements
while else
while expression:
    # statements
else:
    # statements
for loop
for var in sequence:
    # statements
try / except / else / finally
try:
    # statements
except Error:
    # statements
except:
    # statements
else:
    # statements
finally:
    #statements
function
def functionname( params ):
    # statements
    return value
Hello World
print("Hello world!")
Boolean Logic
Comparisons <, <=,>, >=, ==, !=
And and
Or or
Not not(boolean expression)
Arithmetic Operators
Add +
Subtract -
Multiply *
Divide /
Integer Divide //
Modulus %
Exponential **
Increment val += 1
Decrement val -= 1