QUESTION IMAGE
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
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.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
elif