range() function returns sequence of numbers ( Immutable ) by taking start ( default =0 ) , stop( before ) and step ( Optional )
Here start value is 1, stop value is 6 (so before 6 it will stop) and default increment value is 1.
my_keys=range(1,6) # using a range to get sequence of keys
my_dict=dict.fromkeys(my_keys)
print(my_dict)