+ 7
Ruby Game
Let us play a game 1. We will loop in an array from 1..20 2. When a loop reach to a number that can be devided by 3 instead of returning a number it can return Fizz 3. When a loop reach to a number devided by 5 it will return Buzz 4. When the loop reach to a number that can be devided by both 3 and 5 return Fizz Buzz Let us play buddy
6 Antworten
+ 7
My try prints (1..100), Ruby, of course:
https://code.sololearn.com/cyLR13G7OXxG
+ 5
+ 4
here is my code running in ruby
https://code.sololearn.com/crnYQqpqw65J/?ref=app
+ 1
yes