Posts by Smokedy • 11 points
2 posts
-
1
votes2
answers51
viewsA: How do I print how many times there is a similar term in a python list?
I don’t know if I interpreted your problem correctly, but from what I see the error is that you append the ticket before checking the conditions of its existence and you clear the list every time…
-
-1
votes1
answer70
viewsA: Python: Problem with random numbers within while
I couldn’t quite understand your code, but apparently the problem is that you’re using a variable to generate a random number, when in fact, you should be generating a random number for each…