Consider this code:
if temp > 28:
if money > 0.99:
print (“I’m buying a lemonade.”)
#How do I combine the two “ifs” into one. I need to write a python boolean expression (that is, not to rewrite the entire if statement) that causes the following if statement to have the same behavior as the code fragment above:
if ___________________________ :
print(“I’m buying a lemonade.”)
#both of the conditions temp >28 and money >0.99 need to be True.