Computer Science, asked by bishnuboy10285pe4dzb, 3 months ago

Find the output of the following code:

if 10-4>6:

print(“ I know the logic”)

else:

print(‘I know the trick’)​

Answers

Answered by pravinlearnercoin
0

Answer:

I know the trick is the output for the following code

Answered by Anonymous
4

 {\boxed{\underline{\purple{\bf\tt{Code:} } }}}

if 10-4>6: #10-4=6 which is equal to 6,(6=6)

 \: \: \: \: print(“ I know the logic”)

else:

 \: \: \: \: print(‘I know the trick’)

#this statement will be executed as 10-4=6

 {\boxed{\underline{\purple{\bf\tt{Output:} } }}}

I know the trick

Similar questions