Learn practical skills, build real-world projects, and advance your career
Created 3 years ago
#loat(current_year)
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-1-bc6392632826> in <module>
----> 1 float(current_year)
NameError: name 'current_year' is not defined
#current_year = 2021
current_year
2021
float(large_number)
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-7-67945dc9d3ea> in <module>
----> 1 float(large_number)
NameError: name 'large_number' is not defined
float(current_year)
2021.0