An open API service indexing awesome lists of open source software.

https://github.com/0pkunal/simple-interest-calculator-in-python

A Python program to calculate Simple Interest (I).
https://github.com/0pkunal/simple-interest-calculator-in-python

python python-3 python3

Last synced: 9 months ago
JSON representation

A Python program to calculate Simple Interest (I).

Awesome Lists containing this project

README

          

# Simple Interest Calculator

A Python program to calculate **Simple Interest (I)**.

## Formula

$$
I = \frac{P \times r \times t}{100}
$$

- **P** = Principal amount
- **r** = Rate of interest (%)
- **t** = Time (years)

## Usage
1. Clone the repository:

```bash
git clone https://github.com/0PKunal/Simple-Interest-Calculator-in-Python.git
```
2. Navigate into the folder:

```bash
cd /Simple-Interest-Calculator-in-Python
```
3. Run the script:

```bash
python simple_interest.py
```
## Example

```
Enter the principal amount(P): 1000
Enter the rate of interest(r in %): 5
Enter the time(t in years): 2

Simple Interest(I) = 100.00
```

## File

* `simple_interest.py` → Main program

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

```
MIT License

Copyright (c) 2025 0PKunal

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
```

---


Made with ❤️ by 0PKunal


If this project helped you, please give it a ⭐️