Skip to content

Update Convert Temperature.py #475

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
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Om149
Copy link

@Om149 Om149 commented Aug 4, 2025

Renamed functions to follow snake_case naming and better clarity.

Replaced global variables and nested conditions with modular pure functions for each conversion path.

Added input validation for temperature and conversion choices.

Removed unnecessary import of math module.

Used consistent formatting and meaningful function/variable names.

Improved user prompts for better UX.

PR Title

Give a title to your PR

Summary

summary...

Description

The changes are as follows:

  • Change 1
  • Change 2

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,

[Your Name]

Renamed functions to follow snake_case naming and better clarity.

Replaced global variables and nested conditions with modular pure functions for each conversion path.

Added input validation for temperature and conversion choices.

Removed unnecessary import of math module.

Used consistent formatting and meaningful function/variable names.

Improved user prompts for better UX.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant