current position:Home>The input of binary string in Python

The input of binary string in Python

2022-02-03 01:37:53 CSDN Q & A



Input is int type , So I printed , Print out the results 0 It's all gone ,Python What should be done inside to print out such a binary string

Refer to the answer 1:

I think , If you print it , To become a string . such 0 Will not be eliminated . Put this 00110011 It's inappropriate to save directly as an integer .

Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.

Random recommended