Cow_id_list = []
Herd_Size = int(input("Enter the size of the herd."))
for x in range(Herd_Size):
Cow_id = int("Enter a unique 3 digit ID tag for cow",x+1)
Cow_id_list.append(Cow_id)
print("Initiating yield entry...")
The user inputs an integer (n) which will be stored in variable Herd_Size. How to create a dictionary with the same (n) number of keys and with names of our choice? Name of key value will be ID tags