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).
- Host: GitHub
- URL: https://github.com/0pkunal/simple-interest-calculator-in-python
- Owner: 0PKunal
- License: mit
- Created: 2025-08-30T23:40:41.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-08-30T23:58:47.000Z (9 months ago)
- Last Synced: 2025-08-31T01:15:28.087Z (9 months ago)
- Topics: python, python-3, python3
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.
```
---