Aug-16-2020, 04:29 PM
What have you done to debug your code? Add some extra print statements to see what's going on: print more of your variables to see what their values are and add prints in your
if
, elif
and else
branches to see which ones are being taken. Both of those should help you work out what's going wrong.