Computer Science, asked by alina2k20, 4 months ago

num=121

if num>99:

print(‘Number is a three digit number’)

else:

print(‘Number is not a three digit number’)
Give the output​

Answers

Answered by allysia
0

Correction in co_de:

num=121  

if num>99:

   print(‘Number is a three digit number’)  

else:  

   print(‘Number is not a three digit number’)

#Give the output​

Output:

Number is a three digit number.

Explanation:

since num has a value of 121 which is greater than 99 the statement under if executes.

If it wasn't the case the second statement would've ran.

Similar questions