Category
Ruby
Learn Ruby from the ground up.
Exercises
-
Reverse a StringEasy
Write a method `reverse_string(str)` that returns the reverse of `str`.
-
Sum Two NumbersEasy
Write a method `sum_two_numbers(a, b)` that returns the sum of `a` and `b`.
-
FizzBuzzMedium
Write `fizzbuzz(n)` returning "Fizz", "Buzz", "FizzBuzz", or the number as a string.