Python Tutorial: converting binary numbers 1

Publicado em: 23 Agosto 2020
no canal de: 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


Nesta página do site você pode assistir ao vídeo on-line Python Tutorial: converting binary numbers 1 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Red Hen dev 23 Agosto 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 107 vezes e gostou 5 espectadores. Boa visualização!