Python Tutorial: converting binary numbers 1

Опубликовано: 23 Август 2020
на канале: Red Hen dev
107
5

An introduction to how to read binary numbers and how to code a simple converter from a binary list/array (e.g. '1,0,0,0,1,1,1') into an ordinary decimal number (e.g. '42').

Repl.it code: https://repl.it/@RedHenDev/BinaryConv...

Also covered are the basics of defining functions, passing in arguments, returning a value, variables and lists, reversing a list, using an if statement, using a while loop, the increment operator, the power operator, converting a variable to a string, and printing out a concatenated string to the shell.

In the next video, we will code a converter that goes from a decimal number to binary -- much more of a challenge :)

Thanks for watching


На этой странице сайта вы можете посмотреть видео онлайн Python Tutorial: converting binary numbers 1 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Red Hen dev 23 Август 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 107 раз и оно понравилось 5 зрителям. Приятного просмотра!