Advertisement
Maxim_01

Untitled

Jun 3rd, 2022
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. string = input()
  2. first_list = string.split(" ")
  3. second_list = []
  4. for index, value in enumerate(first_list):
  5.     value = int(value)
  6.     value = value * -1
  7.     second_list.append(value)
  8. print(second_list)
  9.    
  10.      
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement