Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Updated CompundInterest.py and added readme.md #467

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Code-Builder-io wants to merge 1 commit into DhanushNehru:main
base: main
Choose a base branch
Loading
from Code-Builder-io:cb-python-contrib

Conversation

Copy link

@Code-Builder-io Code-Builder-io commented Jul 14, 2025
edited
Loading

PR Title

Compound Interest.py

Summary

summary...

Description

The changes are as follows:

  • Change 1:Fixed some typos and also add f string for smoothness
  • Change 2:Added a readme file

Checks

in the repository

  • Made no changes that degrades the functioning of the repository
  • Gave each commit a better title (unlike updated README.md)

in the PR

  • Followed the format of the pull_request_template
  • Made the Pull Request in a small level (for the creator's wellfare)
  • Tested the changes you made

Thank You,

Aryan Tiwari

Fixed some typos and also add f string for smoothness.
Added a readme file.
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes typos and improves string formatting in a compound interest calculator, while adding documentation. The changes focus on correcting spelling errors and modernizing the output formatting with f-strings.

  • Fixed spelling error in user prompt ("investin" → "investing")
  • Modernized string formatting by replacing .format() with f-string
  • Added a README file to document the project

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
Calculate Compound Interest/readme.md Added new documentation file describing the compound interest calculator
Calculate Compound Interest/calculateCompoundInterest.py Fixed typo in user prompt and updated string formatting to use f-strings

@@ -0,0 +1,5 @@
# Calulate Compound Interest
Copy link
Preview

Copilot AI Jul 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word 'Calulate' is misspelled. It should be 'Calculate' to match the directory name and maintain consistency.

Suggested change
# Calulate Compound Interest
# Calculate Compound Interest

Copilot uses AI. Check for mistakes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

Copilot code review Copilot Copilot left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /