Challenge - #41 - set.add()

# Enter your code here. Read input from STDIN. Print output to STDOUT
country_set = set()
for i in range(int(input())):
    country_set.add(input())
print(len(country_set))

Comments

Popular posts from this blog

Challenge - #48 - Incorrect Regex

Challenge - #43 - Time Delta