So I want to get the user to input a list of numbers (1 or 2 digits ex 2,34,4,35,36)
and for python to send back how much total numbers there is but the problem is python counts each number as a unit when I want it to know the difference between 2
and 34
for example. Idk my brain isn't braining.
Initially , I tried the len
function then I cam here where I saw the count function but even then it still doesn't work
i = input("enter a list")
count(i)
(count isnt even recognized? for some reason)
I decided to go back to len
and I did this
i = input ("enter a list")
print ( len(i) )
It did work but it counts every single number separately it even counts the commas!!!
I put the list 34,34,34,35
and I got 11
and I wanted to get 4
because that how much numbers there is
Thank you for talking the time to read my ranting