I also don't understand why if I change it to "bad" and "not" it still changes This tea is not hot. How could it match on those conditions?
Ok thank you I will play around with this. I must be missing something about how testing for equivalence works.
(May-24-2018, 12:50 AM)Larz60+ Wrote: You should change single character names to meaningful ones
...
hint -- you can ask:
try: idx = s.index('bad') idx1 = s.index('good') if idx < idx1: ... except: return sassuming you can use try/except, you fill in ...
Ok thank you I will play around with this. I must be missing something about how testing for equivalence works.