Last active
          December 1, 2022 19:25 
        
      - 
      
- 
        Save creaturenex/b8fbe5783e838a4e4260278ce3f9ae46 to your computer and use it in GitHub Desktop. 
    shopify coding challenge
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | def solution(number) | |
| case | |
| when number % 5 == 0 && number % 3 == 0 then "FizzBuzz" | |
| when number % 5 == 0 then "Buzz" | |
| when number % 3 == 0 then "Fizz" | |
| else | |
| number | |
| end | |
| end | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Thanks Nick!