Given a list of values, return a list with each value replaced with the empty value of the same type.
More explicitly:
1, 3), whose type is int, with 03.14, 2.17), whose type is float, with 0.0"abcde", "x"), whose type is str, with ""True, False), whose type is bool, with False[1, "a", 5], [[4]]), whose type is list, with [](1,9,0), (2,)), whose type is tuple, with (){0,"a"}, {"b"}), whose type is set, with set()
{} as the empty dictionary, not the empty set.None, whose type is NoneType, is preserved as Noneempty_values([1, 2, 3]) β [0, 0, 0]
empty_values([7, 3.14, "cat"]) β [0, 0.0, ""]
empty_values([[1, 2, 3], (1,2,3), {1,2,3}]) β [[], (), set()]
empty_values([[7, 3.14, "cat"]]) β [[]]
empty_values([None]) β [None]
None has the special NoneType all for itself.