+ 1

Guys! Help! In my code which answers is ur number prime or not , I have problem

All the numbers are working right except numbers which can be divided by 3 , but not can be divided by 2 (for example 15 , 123 , 111 , 51) https://code.sololearn.com/ce7wkL5xNyMi/?ref=app

23rd Dec 2018, 3:00 PM
multi_troll
2 Answers
+ 1
it's showing prime number for every input I tried not only multiples of 3...
23rd Dec 2018, 3:53 PM
Asirap
+ 1
Try to change numbers in the first string urself Tap run and DONT input anything and tap approve
23rd Dec 2018, 4:25 PM
multi_troll