Dictionary fromkeys() method

In Python Dictionary fromkeys() method is used to create a new dictionary from the given sequence of elements with a value provided by the user.

There are 2 Parameters used in this method. sequence: shows the sequence of the elements which is to be used for the new dictionary as keys. value: Shows the value which is set to each element of the dictionary.
#dictionary method

STUDENT = {'Name', 'Class', 'Subject'}
Values = dict.fromkeys(STUDENT)