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
Auf dieser Seite können Sie das Online-Video Python Tutorial: converting binary numbers 1 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Red Hen dev 23 August 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 107 Mal angesehen und es wurde von 5 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!