[Tutor] formatting strings
Tudor, Bogdan - tudby001
tudby001 at mymail.unisa.edu.au
Thu May 7 20:57:30 CEST 2015
Hi,
This is my first time.
I am using python 3.4.3 on windows 7 64bit.
I am trying to make a binary counter that will prompt for and read a decimal number (whole number). Then display all decimal numbers starting from 1 up to and including the decimal number entered along with the binary representation of the numbers to the screen.
I expected nesting a bunch of loops over and over again would work, what I've realized is that there must be an easier way of coding this without repeating loops, I just cannot for the life of me work this out. What I'm doing at the moment is writing way to much code over and over again.
https://github.com/rks1337/binary-counting/blob/master/binary%20counting
Sorry I'm not sure how to use inline quoting on outlook online.
I will greatly appreciate any help!
Kind Regards.
More information about the Tutor
mailing list