delete value of a variable in python code example
Example 1: how to delete a variable python
>>>a = 3.14
>>>a
3.14
>>>del a
Example 2: delete variable python
f = 11;
print(f)
del f
print(f)
>>>a = 3.14
>>>a
3.14
>>>del a
f = 11;
print(f)
del f
print(f)