27 Mar Tuesday 17:30 Python Homework 21.03.23.
Question 1:
Create a loop between 1 to 20.
- Print “fizz” if the number is divisible by 3
- Print “bizz” if the number is divisible by 5
- Print “fizzbizz” if a number is divisible by both 3 and 5.
- Otherwise, print the number itself.
Sorry, the comment form is closed at this time.