PyTutorial

Basic Syntax

#Indentation

Where other languages use braces {} to define blocks of code, Python uses indentation.

text
if 5 > 2:
    print("Five is greater than two!")
    # This is a comment
Python will give you an error if you skip the indentation.
command
> npm run dev