Coding challenge

An "emirp" ("prime" spelled backward), is a prime number, that is also prime when you reverse its digits, like 13, and 17. Write some code to count how many emirps exists under 1,000. (Ans: 13).

Type your code here:

Lua reference

See your results here:

Show a friend, family member, or teacher what you've done!

Here is a share link to your code: