Each time I enter any number the result always comer as Number isn't 5, 11 or 7 | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponse
+ 1
Input returns string ,convert it to int by int(input())
12th Jul 2020, 7:47 AM
Abhay
Abhay - avatar