Computer Science, asked by meetk1, 4 months ago

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 allysia
3

Answer:

The expression will go as:

_____________________

#Assigning values first

num1= 20

num2= -10

num3= 12

#The expression:

num1+num2< num3

_____________________

Attachments:
Answered by jai696
3

\large\mathsf\color{pink}{Solution\: using\: python\: 3}

num1, num2, num3 = 20, -10, 12

print(num1 + num2 < num3)

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions