How to convert an integer to hexadecimal, binary and octal in Python

preview_player
Показать описание
How to convert an integer to hexadecimal, binary and octal in Python.

If we want to convert an integer to a binary number we will use a function called bin().
Then, if we want to convert an integer to a hexadecimal number we will use a function called hex().
Also, if we want to convert an integer to a octal number we will use a function called oct().
Рекомендации по теме
Комментарии
Автор

Hey. Could you please do a video about how to count what is being printed and store the sum in a variable? Thanks

reinaldogutierrez