SNHU-IT-140/6/6.13 LAB/main.py

4 lines
108 B
Python

user_input = input().split()
print(*sorted([i for i in list(map(int, user_input)) if i >= 0]), '', end='')