
# DICT.GET()

a = {"a":20, "b":15, "c":25}

print(a.get("a", 2))

# a = ["rahul", "ronaldo", "rahul"]



# def blah(a):
#     result = {}
#     for i in a:
#         if result.has_key(i):
#             result[i] += 1
#         else:
#             result[i] = 1
#
#     print(result)

# blah(a)
















