Python/conversions
Kushagra Agarwal c6c3bd3399
Hacktoberfest: Added Octal Number to Hexadecimal Number Conversion Algorithm (#10533)
* Added Octal to Hexadecimal Conversion program under 'conversions' directory

* Update conversions/octal_to_hexadecimal.py

fix: minor improvement to directly return hexadecimal value

Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>

* Update conversions/octal_to_hexadecimal.py

fix: improvement updates to octal to hexadecimal

Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>

* Update conversions/octal_to_hexadecimal.py

fix: Readablility improvements to octal to hexadecimal convertor

Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>

* Update conversions/octal_to_hexadecimal.py

fix: readability improvements in octal_to_hexadecimal.py

Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>

* Update conversions/octal_to_hexadecimal.py

fix: readability improvements in octal_to_hexadecimal.py

Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>

* fix: Fixed all the errors in octal_to_hexadecimal.py after commiting suggested changes

* fix: modified the prefix of hex numbers to the '0x' standard in octal_to_hexadecimal.py

---------

Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
2023-10-17 03:10:24 -04:00
..
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
astronomical_length_scale_conversion.py Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00
binary_to_decimal.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
binary_to_hexadecimal.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
binary_to_octal.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
convert_number_to_words.py Delete empty junk file (#9062) 2023-09-17 00:12:31 +02:00
decimal_to_any.py fix: mypy 0.991 issues (#7988) 2022-11-15 18:29:14 +01:00
decimal_to_binary.py Consolidate decimal to binary iterative and recursive (#8999) 2023-08-21 06:25:20 -07:00
decimal_to_hexadecimal.py Ruff pandas vet (#10281) 2023-10-11 14:30:02 -04:00
decimal_to_octal.py fix(mypy): type annotations for conversions algorithms (#4314) 2021-04-04 15:25:49 +02:00
energy_conversions.py Energy conversions (#8801) 2023-06-22 14:31:48 +02:00
excel_title_to_column.py Add Microsoft Excel Column Title to Column Number Conversion (#4849) 2022-05-24 09:18:50 +08:00
hex_to_bin.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
hexadecimal_to_decimal.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
length_conversion.py Fix ruff errors (#8936) 2023-08-09 13:25:30 +05:30
molecular_chemistry.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
octal_to_binary.py Octal to Binary Convert (#8949) 2023-08-20 05:40:23 -07:00
octal_to_decimal.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
octal_to_hexadecimal.py Hacktoberfest: Added Octal Number to Hexadecimal Number Conversion Algorithm (#10533) 2023-10-17 03:10:24 -04:00
prefix_conversions_string.py Correct ruff failures (#8732) 2023-05-14 22:03:13 +01:00
prefix_conversions.py Add pep8-naming to pre-commit hooks and fixes incorrect naming conventions (#7062) 2022-10-13 00:54:20 +02:00
pressure_conversions.py Fix ruff errors (#8936) 2023-08-09 13:25:30 +05:30
README.md Add README files 2/8 (#5766) 2021-11-11 21:39:54 +08:00
rgb_hsv_conversion.py Correct ruff failures (#8732) 2023-05-14 22:03:13 +01:00
roman_numerals.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
speed_conversions.py Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00
temperature_conversions.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
volume_conversions.py Fix ruff errors (#8936) 2023-08-09 13:25:30 +05:30
weight_conversion.py Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00

Conversion

Conversion programs convert a type of data, a number from a numerical base or unit into one of another type, base or unit, e.g. binary to decimal, integer to string or foot to meters.