Skip to content

Commit cc26d7d

Browse files
Update SymmetricDifference.py
1 parent e810af0 commit cc26d7d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Sets/SymmetricDifference.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
Problem : https://www.hackerrank.com/challenges/symmetric-difference/problem
88
'''
99
# Enter your code here. Read input from STDIN. Print output to STDOUT
10-
m=int(raw_input())
11-
set_a_str_ar=raw_input().strip().split()
10+
m=int(input())
11+
set_a_str_ar=input().strip().split()
1212
set_a_ar=list(map(int,set_a_str_ar))
13-
n=int(raw_input())
14-
set_b_str_ar=raw_input().strip().split()
13+
n=int(input())
14+
set_b_str_ar=input().strip().split()
1515
set_b_ar=list(map(int,set_b_str_ar))
1616

1717
set_a_set=set(set_a_ar)
@@ -22,4 +22,4 @@
2222
res_ar=list(res_set)
2323
res_ar.sort()
2424
for i in res_ar:
25-
print(i)
25+
print (i)

0 commit comments

Comments
 (0)