Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I will get an error expected:<1.57[]> but was:<1.57[
]>
What is the problem here?
This comment is hidden because it contains spoiler information about the solution
so the problem is solved .thank you.
okey, first 17 is greater than 1 so "else" will run.Then in the for loop, respectively the number of 2,3,4,5,6....16 will be '%' into 'num'.None of these numbers can % == 0 because 17%2= 1, 17%3=2 , ...17 % 16= 1 .so else will run.finally else is return True.so 17 is prime.
This comment is hidden because it contains spoiler information about the solution