← Back to Question List
Python Code Walkthrough #9
And Versus Or
📄 Code
Read carefully — what does this print?1temp: int = 252raining: bool = False3if temp > 20 and raining:4 print('warm and wet')5if temp > 20 or raining:6 print('at least one')7if not raining:8 print('dry')9if temp > 30 and not raining:10 print('hot and dry')