r/PythonLearning • u/Moral_Roulette34 • Jul 02 '25
[help needed] counter not working?
i dont see why it says the target appears 0 times if target = 1 and 1 appears once in the list
1
Upvotes
r/PythonLearning • u/Moral_Roulette34 • Jul 02 '25
i dont see why it says the target appears 0 times if target = 1 and 1 appears once in the list
6
u/D3str0yTh1ngs Jul 02 '25
an integer and a string is not the same thing.
input()returns a string, your list has integers