I'm currently studying Python and I've been stuck at this problem for a few hours now. I was given a task to take user input of numbers and split those numbers, and display numbers greater than 3, example:
Input: 12345
Output: 4
5
I had some progress with splitting those numbers, and now I'm at this part where it's supposed to figure out if the number is greater than 3 but I keep on getting "TypeError: '>' not supported between instances of 'list' and 'int' "
Anyway, here's my code:
num_input = list(input('Enter number: '))
for i in num_input:
if num_input > 3:
print(i)