TORONTO KIDS COMPUTER CLUB | PMCA Sunday 14:00 Python Homework 20.09.06.
18293
post-template-default,single,single-post,postid-18293,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.8.0,vc_responsive

PMCA Sunday 14:00 Python Homework 20.09.06.

11 Sep PMCA Sunday 14:00 Python Homework 20.09.06.

Question 1:
Input a string and print the string 5 times

Sample program run
----------------------------
Enter a string: Apple
AppleAppleAppleAppleApple


Sample program run
----------------------------
Enter a string: Orange
OrangeOrangeOrangeOrangeOrange

Question 2:
Write a program to find the simple interest for an amount (P) for the rate (R ) and for the number of years (Y).

The formula for the simple interest is
S = (P * R * Y)/100

Sample program run
----------------------------
Enter Amount: 100
Enter Rate: 10
Enter No of Year: 2
The Simple interest on the amount is 20

Sample program run
----------------------------
Enter Amount: 200
Enter Rate: 10
Enter No of Year: 2
The Simple interest on the amount is 40
No Comments

Sorry, the comment form is closed at this time.