def x(): print (list(range(10,20,2 ))) z=input() if z=="check": x() | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

def x(): print (list(range(10,20,2 ))) z=input() if z=="check": x()

I put the value is "check" but it is showing no output I think there is a problem in my app

11th Aug 2017, 5:54 PM
knock knock
knock knock - avatar
1 Answer
+ 1
Tried your code, it works fine. Check your input. Make sure that you have no spaces in it. You can add additional prints for debug. Or the best option is too debug the code for example with PyCharm to find out what is the problem
11th Aug 2017, 6:32 PM
Roman
Roman - avatar