/prime_shift

creates an array of prime numbers

Primary LanguageRuby

prime_shift

purpose: Completed as part of the Epicodus Curriculum.

  • A method that takes a number and returns all prime numbers up until the input number