ghostmkg / programming-language

You write code in any programming language you want. And push the code.
33 stars 79 forks source link

Binary To Decimal Converter #106

Closed Jadu07 closed 17 hours ago

Jadu07 commented 20 hours ago

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.