PYTHON PROGRAMMING

6.13 LAB: Filter and sort a list

a program that gets a list of integers from input, and outputs non-negative integers in ascending order (lowest to highest).

Ex: If the input is:

10 -7 4 39 -6 12 2

the output is:

2 4 10 12 39

For coding simplicity, follow every output value by a space. Do not end with newline.

247772.1580548

LABACTIVITY

6.13.1: LAB: Filter and sort a list

6 / 10

main.py

Load default template…

1

”’ Type code here. ”’