[Tutor] Adding Binary

2013-01-12 Thread Ali Raza Ghasemi
I am making a program that adds binary numbers together. The program has to accept two binary values (up to 8 binary digits) and output their total in binary. The output should not contain any leading zeros. I have a problem in that I don't know how to limit the number digits to 8 as it accepts

[Tutor] Binary Addition

2013-01-12 Thread Ali Raza Ghasemi
Hi, the program that I sent you is not homework. It is merely something I did in my free time. I don't know what you mean so can you make it a little bit clearer by sending me the code. ___ Tutor maillist - Tutor@python.org To unsubscribe or change su

[Tutor] (no subject)

2013-01-12 Thread Ali Raza Ghasemi
I have to make a program that adds binary numbers together. The program has to accept two binary values (up to 8 binary digits) and output their total in binary. The output should not contain any leading zeros. I have a problem in that I don't know how to limit the number digits to 8 as it accep