Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- '''
- You can also delete variables from memory
- if you don't need to use them anymore by
- using the del statement/keyword.
- '''
- x = 0
- del x
- print(x) #Wont work because you already deleted variable x from memory.
- #raise NameError
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement