Set .union() Operationhackerrank solution code example
Example: set .union() operation hackerrank solution
e="(set(input().split())if input()!='-1'else '')";print(len(eval(e)|eval(e)))
e="(set(input().split())if input()!='-1'else '')";print(len(eval(e)|eval(e)))