Advertisement
MaximTakkaTo

task4

Mar 11th, 2022
600
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. first_string  = set(map(int, str.split(input(), " ")))
  2. second_string = set(map(int, str.split(input(), " ")))
  3. result = first_string.difference(second_string)
  4. output = ""
  5. for i in result:
  6.     output += str(i) + " "
  7.  
  8. print(output[:len(output) - 1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement