when you run numeralsystems pythe output will look like thisnumeral system countersby al sweigart al@inventwithpython com --snip-enter the starting number ( enter how many numbers to display ( dec hex bin dec hex bin dec hex bin dec hex bin dec hex bin dec hex bin dec hex bin dec hex bin dec hex bin dec hex bin dec hexa bin dec hexb bin dec hexc bin dec hexd bin dec hexe bin dec hexf bin dec hex bin dec hex bin dec hex bin dec hex bin how it works you can get the binary and hexadecimal representations of number in python by calling the bin(and hex(functionsrespectivelybin( ' hex( ' aconvert these strings back into decimal integers by calling int(and supplying the base to convert fromlike soint(' ' int(' ' keep in mind that the binary and hexadecimal "numbersreturned by bin(and hex(are actually string valuesbin( returns the string ' and hex( returns the string ' ain programmingit is convention to add prefix to binary numbers and prefix to hexadecimal numbers project #