Each time I enter any number the result always comer as Number isn't 5, 11 or 7 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Each time I enter any number the result always comer as Number isn't 5, 11 or 7

https://code.sololearn.com/cDmQ8N7SREuB

12th Jul 2020, 7:39 AM
Smiley[Offline]
1 Answer
+ 1
Input returns string ,convert it to int by int(input())
12th Jul 2020, 7:47 AM
Abhay
Abhay - avatar