current position:Home>Python built-in binary conversion function

Python built-in binary conversion function

2022-07-25 10:15:04Wendianfei

bin(): take 10 Convert hexadecimal integer to 2 Base string .

oct(): take 10 Convert hexadecimal integer to 8 Base string .

int(): Convert any base to 10 Base number .

hex(): take 10 Convert hexadecimal integer to 16 Base number .

copyright notice
author[Wendianfei],Please bring the original link to reprint, thank you.
https://en.pythonmana.com/2022/206/202207250923072483.html

Random recommended