licode › Practice › Prime Rune
Read n and print prime or not prime.
Input: One integer 1 ≤ n ≤ 10^12.
Output: prime or not prime.
Difficulty: Easy. Write your answer in the browser editor, run the examples, then submit it against hidden tests. Python and JavaScript are free; other languages are part of licode Club.
Learn to code through practice and play
Build programming skills one lesson at a time
Practice coding with feedback from real test cases
Turn coding practice into a multiplayer challenge
Coding challenges for focused practice
Build software in guided stages
How to make coding games productive
Looking for a game-based alternative to LeetCode?