You are viewing a single comment's thread. Return to all comments →
Very nice! I combined your solution with my previous eval trick and managed to save another 7 characters:
eval
_,a,_,b=eval("set(input().split()),"*4);print(len(a|b))
Seems like cookies are disabled on this browser, please enable them to open this website
Set .union() Operation
You are viewing a single comment's thread. Return to all comments →
Very nice! I combined your solution with my previous
eval
trick and managed to save another 7 characters: