write the logical expression corresponding to the following statements in python and evaluate the expression (assuming variables num1,num2,num 3,first,middle,last are already having meaningful values ):
a)the sum of 20 and -10 is less than 12
Answers
Answered by
3
Answer:
The expression will go as:
_____________________
#Assigning values first
num1= 20
num2= -10
num3= 12
#The expression:
num1+num2< num3
_____________________
Attachments:
Answered by
3
num1, num2, num3 = 20, -10, 12
print(num1 + num2 < num3)
Similar questions