Комментарии:
You can use the base on the int() function to go backward just like that "int(bin(23)[2:], 2)"
Ответитьno
ОтветитьAlgum BR🇧🇷 ?
Ответитьanyone know how to do this without using the in-built bin() method?
Ответить>>> int(0b10111)
23
Amazing
ОтветитьYou can make a text to binary program like this:
x = str(input())
x = ' '.join([format(ord(i),'b'] for i in x]).
You can also make it into a hex converter:
x = str(input())
x = ' '.join([format(ord(i),'h'] for i in x]).
Or an octal converter:
x = str(input())
x = ' '.join([format(ord(i),'o'] for i in x]).
One of most useful tutorials...
💯💯💯💯
Plz Make video on cryptography
Ответитьthanks.
ОтветитьWhat happened to data structure videos
ОтветитьI love this channel
ОтветитьSir please make tutorial on desktop application using tkinter module and also implement option menu
ОтветитьMore quick tips, please.
ОтветитьYou can use int to convert binary to an int,
a = 79
bin_a = bin(a)
print(int(bin_a, 2))
The 2nd param. tells it what base it is coming from
This channel is awesome ...
Thanks Tim ...
Great vid! Also, when is the tower defense part two coming?
ОтветитьNice stuff by u ..
ОтветитьAnother method : '{0:b}'.format(number)
Ответитьbin(number) -> Nice short tutorial video
ОтветитьCan you make a playlist over opencv ? By the way awesome video 😍
ОтветитьHattrick!!
Ответитьfirst again!!!!
Ответить