This PR introduces a Python script that converts a binary number (provided as a string) to its decimal equivalent using Python's built-in int() function.
Test Plan
Run the script and input a binary number (e.g., 1010).
Verify that the output correctly matches the decimal equivalent (e.g., 10 for 1010).
Test with various binary inputs to ensure accurate conversion.
What does this PR do?
This PR introduces a Python script that converts a binary number (provided as a string) to its decimal equivalent using Python's built-in int() function.
Test Plan
Run the script and input a binary number (e.g., 1010). Verify that the output correctly matches the decimal equivalent (e.g., 10 for 1010). Test with various binary inputs to ensure accurate conversion.
Related PRs and Issues
No related PRs or issues at the moment.
Have you read the Contributing Guidelines on issues?
Yes.