p
y
c
h
a
l
l
e
n
g
e
r
Home
Python Basics
First Steps
Assign new value to a variable
Assign new value to a variable
In this exercise the variable with value 5. Reassign the variable with the number 10 and run the code.
reset
num = 5
print(num)
Python
Setting up Python environment...
Output