Employers: discover CodinGame for tech hiring
CodinGame - Home
ACTIVITIES
PRACTICE
COMPETE
COOPERATE
LEARN
EVENTS
COMMUNITY
CONTRIBUTIONS
LIVE STREAMS
DISCORD
FORUMS
BLOG
Log In
Sign Up
Ruby sample code
tbpgr
13.2K views
01
FizzBuzz
02
Fibonacci
03
Prime
04
Eto
3/4
Prime
Previous:
Fibonacci
Next:
Eto
Prime
Prime
1
2
3
4
require 'prime'
print Prime.take(20)
Run
9
4
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
Suggested playgrounds
Tic Tac Toe Game Implementation
By
agorneo
9,291
26
0
Ruby Introduction (Dutch)
By
PeterDR
24K
4
0
Chuck Norris
By
nbbroo
3,899
6
0
MessageMedia Messages Ruby
By
IbrahimT
2,703
2
0
CodinGame - Home
ABOUT US
CAREERS
PRIVACY
FAQ
CodinGame - Work
The #1 tech hiring platform
SCREENING
RETAIN
ABOUT US
CAREERS
PRIVACY
FAQ
Facebook
YouTube
Twitter
LinkedIn
FR
EN
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants
Keyboard Shortcuts:
?
Show / hide this help menu
×