From 6fee06fe3a7f22beecd3459c63889f705fae559a Mon Sep 17 00:00:00 2001 From: GunSlinger0715 <133052505+GunSlinger0715@users.noreply.github.com> Date: Fri, 15 Aug 2025 16:53:11 -0500 Subject: [PATCH] Add simple interest calculator --- simple_interest.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 simple_interest.py diff --git a/simple_interest.py b/simple_interest.py new file mode 100644 index 0000000..2f12b17 --- /dev/null +++ b/simple_interest.py @@ -0,0 +1,5 @@ +P = float(input('Enter the principal amount: ')) +R = float(input('Enter the rate of interest: ')) +T = float(input('Enter the time in years: ')) +SI = (P * R * T) / 100 +print(f'Simple Interest: {SI}')