Advertisement
namemkazaza

16

Feb 9th, 2021
434
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. arr = list(map(int, input().split()))
  2. if arr == sorted(arr):
  3.     print(*[num * 2 for num in arr])
  4. else:
  5.     print(*[num * -1 for num in arr])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement