The fromkeys( ) Function returns a Dictionary with the given keys and the specified value.
x = (5, "John", "Python") y = ("Is a Value") z = dict.fromkeys(x, y) print(z)
So, in the above code we have created a 'Tuple' using braces '( )'.
And a 'Tuple' 'y',
Then used 'dict.fromkeys( )' Function to form the Dictionary with below values
And initialised to the variable 'x'.
Just remember, the 'Value', 'Is a Value' is common for all the 'Keys'.