![]() ![]() ![]() The integer numbers are converted into binary numbers in the above output. The “ bin() function” is used to convert the integer number into a binary number by taking the value of a variable into its parameter.Two integer values named ” Number_1” and “ Number_2” are initialized.Print('conversion of Int into Binary is:', bin(Number_2)) Print('conversion of Int into Binary is :', bin(Number_1)) Let’s understand the working of the “ bin()” function with the below-given code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |