From 1b7d715b07003c82638f3f29777f9fa5e3968c5a Mon Sep 17 00:00:00 2001 From: RinmaySharma <103241262+RinmaySharma@users.noreply.github.com> Date: Sun, 9 Oct 2022 20:53:40 +0530 Subject: [PATCH] Create poisa.py --- poisa.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 poisa.py diff --git a/poisa.py b/poisa.py new file mode 100644 index 0000000..f27cc0b --- /dev/null +++ b/poisa.py @@ -0,0 +1,13 @@ + +def simple_interest(p,t,r): + print('The principal is', p) + print('The time period is', t) + print('The rate of interest is',r) + + si = (p * t * r)/100 + + print('The Simple Interest is', si) + return si + +# Driver code +simple_interest(8, 6, 8)