p
y
c
h
a
l
l
e
n
g
e
r
Home
Python Basics
First Steps
Create a variable
Create a variable
Here, we try to print a variable named
num
. But, that variable does not exist yet. Create
num
and assign a value to it. Then, run the code.
reset
print(num)
Python
Setting up Python environment...
Output