Test Data: Amt 10000, Int 3.5, Years 7 Expected Output: 12722.79
Test Data: Amt 10000, Int 3.5, Years 7 Expected Output: 12722.79
*
**
***
****
*****
****
***
**
*
27. Write a Python program that prints all the numbers from 0 to 6 except 3 and 6.
Note : Use 'continue' statement.
Expected Output : 0 1 2 4 5
28. Write a Python program which iterates the integers from 1 to 50. For multiples of three
print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers
which are multiples of both three and five print "FizzBuzz".
Sample Output :
fizzbuzz
1
2
fizz
4
buzz
29. Write a Python program to create the multiplication table (from 1 to 10) of a number.
30. Write a Python program to construct the following pattern, using a nested loop number
. Expected Output:
1
22
333
4444
55555
666666
7777777
88888888
999999999