Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
Consider this code: if temp gt; 28: if money gt; 0. print (quot;I'm buying a lemonade.quot;) #How do I combine the two quot; if squot; into one....
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.