diff --git a/.github/ISSUE_TEMPLATE/close_pr.yml b/.github/ISSUE_TEMPLATE/close_pr.yml new file mode 100644 index 0000000000..0d0cc57ea9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/close_pr.yml @@ -0,0 +1,14 @@ +name: Close Pull Request + +on: + pull_request_target: + types: [opened] + +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: superbrothers/close-pull-request@v3 + with: + # Optional. Post a issue comment just before closing a pull request. + comment: "Congratulations! You have completed the lab. Closing for maintainence purpose." diff --git a/compound_interest.py b/compound_interest.py index 9673a7a029..3b692ee38e 100755 --- a/compound_interest.py +++ b/compound_interest.py @@ -17,7 +17,7 @@ def compound_interest(p, t, r): if __name__ == "__main__": - p = float(input("Enter the principal amount: ")) + p = float(input("Enter the principle amount: ")) t = float(input("Enter the time period: ")) r = float(input("Enter the rate of interest: "))