6. Practice Makes Perfect


how can i get output in console if number has no value?


If it has no value then what output could you possibly expect?


The interpreter doesn't restart until you leave the page. Refreshing would get you a NameError.


Traceback (most recent call last):
File "python", line 8, in
NameError: name 'number' is not defined

that makes more sense