0

Please help me to solve this issue

a= set(input(":")) t= set(input(":")) print(a|t) When I Entered the input and separate my set elements by using comma result come as following :a,z :a,y {'z', 'y', ',', 'a'} [Program finished] It also include the comma which I used to separate my set elements . So please help me to solve this this issue.

6th Apr 2019, 12:29 PM
GANESH KHADANGA
GANESH KHADANGA - avatar
2 Answers
+ 3
print((a|t)-set(','))
6th Apr 2019, 12:44 PM
Anna
Anna - avatar
0
Now it's working fine
6th Apr 2019, 12:50 PM
GANESH KHADANGA
GANESH KHADANGA - avatar