Created
          December 6, 2021 18:22 
        
      - 
      
 - 
        
Save gdonald/6d0a65a9645b7e38c1a62f5dcafb2898 to your computer and use it in GitHub Desktop.  
    Lol FizzBuzz
  
        
  
    
      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
    
  
  
    
  | #!raku | |
| for (1..100) { | |
| given $_ { | |
| when not $_ % 15 { 'roflmao'.say } | |
| when not $_ % 5 { 'lmao' .say } | |
| when not $_ % 3 { 'lol' .say } | |
| default { .say } | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment