'''
Provided is a dictionary called US_medals which has the first 70 metals that the United States has won in 2016,
and in which category they have won it in. Using dictionary mechanics, assign the value of the key "Fencing"
to a variable fencing_value. Remember, do not hard code this.
'''
US_medals = {"Swimming": 33, "Gymnastics": 6, "Track & Field": 6, "Tennis": 3, "Judo": 2, "Rowing": 2, "Shooting": 3, "Cycling - Road": 1, "Fencing": 4, "Diving": 2, "Archery": 2, "Cycling - Track": 1, "Equestrian": 2, "Golf": 1, "Weightlifting": 1}

fencing_value = 0
for i in US_medals:
    if i == 'Fencing':
        fencing_value += US_medals[i]