# IF 2 name are same i pr 6 what will happen to the program?

Friends  = {}
a = input("Enter Your Fav LAnguage Sherry: \n")
b = input("Enter Your Fav LAnguage Hamza: \n")
c = input("Enter Your Fav LAnguage Zulqarnain: \n")
d = input("Enter Your Fav LAnguage Asad: \n")

Friends["Sherry"] = a
Friends["Hamza"] = b
Friends["Zulqarnin"] = c
Friends["Hamza"] = d

print(Friends)


# So the ANswer is the new value of Same Key will Overwrite the Previous One
23c7b4d38337c073a03f217884fc9a8ea6eb7a18
<mask token>

<mask token>
print(Friends)

Friends = {}
a = input('Enter Your Fav LAnguage Sherry: \n')
b = input('Enter Your Fav LAnguage Hamza: \n')
c = input('Enter Your Fav LAnguage Zulqarnain: \n')
d = input('Enter Your Fav LAnguage Asad: \n')
Friends['Sherry'] = a
Friends['Hamza'] = b
Friends['Zulqarnin'] = c
Friends['Hamza'] = d
print(Friends)

# IF 2 name are same i pr 6 what will happen to the program?

Friends  = {}
a = input("Enter Your Fav LAnguage Sherry: \n")
b = input("Enter Your Fav LAnguage Hamza: \n")
c = input("Enter Your Fav LAnguage Zulqarnain: \n")
d = input("Enter Your Fav LAnguage Asad: \n")

Friends["Sherry"] = a
Friends["Hamza"] = b
Friends["Zulqarnin"] = c
Friends["Hamza"] = d

print(Friends)


# So the ANswer is the new value of Same Key will Overwrite the Previous One