Skip to content

Commit

Permalink
Create Set.ADD
Browse files Browse the repository at this point in the history
  • Loading branch information
Shrishti-Saraswat authored Jun 30, 2020
1 parent 47418a9 commit 484e23b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Set.ADD
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Enter your code here. Read input from STDIN. Print output to STDOUT
n=int(input())
s=set()
for i in range(n):
s.add(input())
print(len(s))

0 comments on commit 484e23b

Please sign in to comment.