[Solved] If Statement not Working right [closed]
Assuming the statement you’re testing is actually ‘How is the weather’ then your if statement is working as expected. Your checks are seeing if the statement contains ‘weather’ and ‘what’ OR contains the word ‘how’ (note the lower case). As your phrase doesn’t contain the word ‘what’ the first check (for the words ‘weather’ AND … Read more