Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string = input()
- first_list = string.split(" ")
- second_list = []
- for index, value in enumerate(first_list):
- value = int(value)
- value = value * -1
- second_list.append(value)
- print(second_list)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement