Which Line Number Code will never execute?
def Check(num): #Line 1
if num%2==0: #Line 2
print(Hello). #Line 3
return True #Line 4
print('Bye) #Line 5
else: #Line 6
return False. #Line 7
C=check(20)
print(c)
Answers
Answered by
7
Answer:
Line 5 will never execute since return true will return the execution back to calling function.
Explanation:
Answered by
1
Answer:
Line 5
Explanation:
If the loop is true it returns the control to the top line so line 5 will not execute
Similar questions