Sep 29, 2024
python --version
.1 + 2
and hit enter to get 3.print("Hello World")
to output text..py
file (e.g., HelloWorld.py
).python <file path>
to run.Ctrl + Shift + P
, type "Python: Select Interpreter".1 + 2
(result: 3).red_bucket = "Kevin"
.print(red_bucket)
.if
, elif
, else
statements to control flow:
def
keyword.return
keyword.break
and continue
statements.import math
and use math.pi
.