- Python
# There is no -- in Python, use -= instead:
number -= 1
# Example:
number = 4
number -= 1
print(number)
PythonBoy2021
# There is no -- in Python, use -= instead:
number -= 1
# Example:
number = 4
number -= 1
print(number)
def func(x): -> int
return x
# it annotates the return type of the function.
# Doesn't force the return type.