Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

question # 6 fill in the blank what is the missing word? if numa < numb…

Question

question # 6
fill in the blank
what is the missing word?
if numa < numb: # line 1
numx = numa # line 2
blank numa > numb: # line 3
numx = numb # line 4

Explanation:

Step1: Identify the programming - logic

This is Python - like code for conditional assignment. The first if statement assigns numA to numX when numA < numB. We need a statement for the opposite condition.

Step2: Recall Python conditional statement

In Python, the opposite - condition statement for if is elif or else. Here, since we have only one other condition (numA > numB), elif is appropriate.

Answer:

elif