Question: Given the following code: grade = 4 9 if grade > = 6 0 : print ( ' Passed ' ) else: print ( '
Given the following code:
grade
if grade :
printPassed
else:
printFailed
printYou must take this course again'
Which of the following is false?
Question options:
If grade is less than then both statements in the else's suite execute.
The indentation must be the same for both statements in the else suite.
Even if you do not indent the second print, then it's still in the else's suite. So the code runs correctly.
There are two statements in the else suite.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
