Skip to content

[tool] degrees_to_radians - #377

Open
shaurya703 wants to merge 1 commit into
abduznik:mainfrom
shaurya703:tool/degrees_to_radians
Open

[tool] degrees_to_radians#377
shaurya703 wants to merge 1 commit into
abduznik:mainfrom
shaurya703:tool/degrees_to_radians

Conversation

@shaurya703

Copy link
Copy Markdown

Fixes #373

Adds the degrees_to_radians tool: converts an angle from degrees to radians using math.radians (radians = degrees × π/180).

Checklist

  • File is in tools/ directory
  • File has header comments (# tool, # description, # author, # example)
  • File has a single run(*args) -> str function
  • Stdlib only, no external dependencies
  • Tested locally: python bitbox.py degrees_to_radians "180" -> 3.141592653589793; invalid input returns an error string

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.

[tool] degrees_to_radians

1 participant