how to delete the contents of a variable python code example Example: how to delete a variable python >>>a = 3.14 >>>a 3.14 >>>del a