Why am I getting NameError name ' ' is not defined in another cell?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2022 04:33 PM
I defined a dictionary variable Dict, populated it, and print(dict) in the first cell of my notebook. In the next cell, I executed the command print(dict) again. However, this time it gave me an error
NameError: name 'Dict is not defined
How can that be? Why am I able to print this variable in one cell, but unable to do so in the next cell?
Labels:
- Labels:
-
Copy File Path