Skip to content

Conversation

@Rupesh-Singh-Karki
Copy link
Contributor

Pull Request Template

script name - uv_sunscreen_advisor

Brief about script

  • UV Index Retrieval: Uses the OpenWeatherMap API to get the UV index for a specific location based on user input (latitude and longitude).
  • Indoor/Outdoor Check: Asks the user if they are indoors or outdoors to customize the advice.
  • Sunscreen Advice: Based on the UV index, the script provides recommendations, including:
    • Whether sunscreen is needed.
    • What SPF level to use.
    • Additional protection tips like wearing sunglasses, hats, or seeking shade.
  • User Input: Prompts the user to enter location details and their current indoor/outdoor status.
  • Error Handling: If the UV index data cannot be retrieved, it displays an error message.

Issue no.(must) - #971

Self Check(Tick After Making pull Request)

  • This issue was assigned to me.
  • One Change in one Pull Request
  • My file is in proper folder (Name of folder should be in lowercase with no space in between) (E.g. meet_schedular)
  • I am following clean code and Documentation and my code is well linted with flake8.
  • I have added README.md and requirements.txt (Include version numbers too e.g. pandas==0.0.1) with my script
  • I have used REPO README TEAMPLATE (Necessary)
  • Just including required dependencies in requirements.txt (Don't include Python version too)

If issue was not assigned to you Please don't make a PR. It will marked as invalid.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Congratulations!! 🎉 @Rupesh-Singh-Karki for making your first PR. We will review the changes soon and merge finally.😊 Do give a star ⭐ meanwhile if you like this project.

@pawangeek pawangeek linked an issue Oct 12, 2024 that may be closed by this pull request
1 task
@pawangeek pawangeek added hacktoberfest Supporting Hacktoberfest hacktoberfest-accepted Supporting completion of hacktober fest labels Oct 12, 2024
@pawangeek pawangeek merged commit e97cdb6 into python-geeks:main Oct 12, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest Supporting Hacktoberfest hacktoberfest-accepted Supporting completion of hacktober fest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New Script: UV Index and Sunscreen Advice

2 participants