Write a program that divides numbers into two lists depending on whether they are greater than or less than 5. You don't have to include number 5 itself.
A sequence of numbers has been read from the input for you.
Write a program that divides numbers into two lists depending on whether they are greater than or less than 5. You don't have to include number 5 itself.
A sequence of numbers has been read from the input for you.
Sample Input 1:
34567Sample Output 1:
[3, 4]
[6, 7]Create a free account to access the full topic