Simultaneously replacing all values of a dictionary to zero python September 8, 2023 by Tarik You want dict.fromkeys(): a = dict.fromkeys(a, 0)