Python Syntax
Variables are not pre-declared in Python.
Conditional operators like
if condition:
... do something ...
else:
... do some-other-thing ...
give different options for different conditions.
For instance:
if age > 18:
print("You are grown-up now.")
else:
print("You are still young.")
Iteration operations are done using loops:
while loop:
while condition:
... do something ...
and
for loop:
for i in a_number:
... do something ...