Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- arr = list(map(float, input().split()))
- if arr == sorted(arr):
- print(*[num * 2 for num in arr])
- else:
- print(*[num * -1 for num in arr])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement