about | help | code help+videos | done | prefs |
A number is called prime if it is more than 1, and is divisible only by 1 and itself. Define a function that when passed an integer, returns true if it is prime, false otherwise. is_prime(77) → False is_prime(73) → True is_prime(103) → True ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 3 Post-solution available
Copyright Nick Parlante 2017 - privacy