09 Apr PMCA Sunday 09:00 Python Homework 20.04.05.
Question 1:
Input a number using scanner and print the factorial of that number.
E.g. Factorial of 5 is 1 * 2 * 3 * 4 * 5 =120
Question 2:
Create a loop between 1 to 20. Print “fizz” if the number is divisible by 3 and “bizz” when the number is divisible by 5 and “fizzbizz” if a number is divisible by both 3 and 5 . if none of this condition match print the number.
Sorry, the comment form is closed at this time.