+ 2

Help me with this program

I recently mad a program with python that determines wether or not the input is a prime number or not. It works really well, but when I type in some numbers like 8 or 15, it says they are a prime number. someone help me! https://code.sololearn.com/cMlFgMfLpM7V/?ref=app

8th Oct 2017, 3:53 PM
2 Answers
8th Oct 2017, 6:33 PM
arg... I made a stupid mistake. Thanks for your help!
9th Oct 2017, 12:57 AM