can any one help me with this python code based on if statment | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

can any one help me with this python code based on if statment

def the_flying_circus(): if the_flying_circus() != (10*10==100) and (40*2==41): print True elif the_flying_circus() !=(not (20-10>11) or 10**2==100 ): print True else: print False

21st Jun 2017, 9:13 AM
Ahmed maher
Ahmed maher - avatar
2 Answers
0
It has some problems. print statements print("True") print("False") for example. Your function itself is trying to compare a function to some values. perhaps you would be better off calling the function with an argument and checking the value of the argument instead?
21st Jun 2017, 10:58 AM
LordHill
LordHill - avatar
0
It cant work, you function calls itself and return nothing
21st Jun 2017, 11:14 AM
clement
clement - avatar