Coding challenge

Write some code to find the probability that a randomly drawn positive factor of $60$ is less than $7$. (Ans: 0.5) (ACM 2003 12A)

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: