Generate Lotto Numbers

Learn to generate unique lotto numbers by using built-in methods in Ruby.

We'll cover the following...

Problem

Write a program to generate six lotto numbers. Lotto numbers are between 1–49.

Access this course and 1400+ top-rated courses and projects.