Python Interview Question - Fizz Buzz

Опубликовано: 02 Сентябрь 2020
на канале: Wrt Tech
21,559
328

In this video I go over a very simple yet frequently asked coding interview question called Fizz Buzz.
this question has 4 conditions that must be met:
1. If the input is divisible by 3, the function will return the string "fizz"
2. If the input is divisible by 5 it will return "Buzz"
3. If the input is divisible by both 3 and 5 it will return "FizzBuzz"
4. For any other number it will return the same input