filmov
tv
Challenge Accepted - FizzBuzz Python Code Challenge

Показать описание
This weeks code challenge is called FizzBuzz. The challenge is - Create a function that takes a number as an argument and returns
- 'Fizz' if number if a multiple of 3
- 'Buzz' if number is a multiple of 5
- 'FizzBuzz' if number is a multiple of both 3 and 5
material to help with challenge:
- 'Fizz' if number if a multiple of 3
- 'Buzz' if number is a multiple of 5
- 'FizzBuzz' if number is a multiple of both 3 and 5
material to help with challenge: