simeonshopov

Invert Values

Nov 27th, 2019
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.10 KB | None | 0 0
  1. string = input()
  2. numbers = string.split()
  3.  
  4. numbers = [-int(x) for x in numbers]
  5.  
  6. print(numbers)
Advertisement
Add Comment
Please, Sign In to add comment