Re: [Tutor] Binary Addition

2013-02-13 Thread bob gailer
On 2/13/2013 2:13 PM, Ghadir Ghasemi wrote: Hi guys can you tell me what is wrong with this code?. It says unexpected indent and the bottom of the code everytime I run it. Thank you on=True while on == True: def eight_digit_binary1(message): response1 = input(message) while

Re: [Tutor] Binary Addition

2013-02-13 Thread bob gailer
On 2/13/2013 2:13 PM, Ghadir Ghasemi wrote: Hi guys can you tell me what is wrong with this code?. It says unexpected indent and the bottom of the code everytime I run it. Thank you Please post the entire traceback - there is valuable information there. Without that we have to go on a time con

Re: [Tutor] Binary Addition

2013-02-13 Thread Alan Gauld
On 13/02/13 19:13, Ghadir Ghasemi wrote: Hi guys can you tell me what is wrong with this code?. Quite a few things. Your try lines don't have matching excepts You have a function definitions in the middle that have indentation errors. eg. def eight_digit_binary1(message): r

Re: [Tutor] Binary Addition

2013-02-13 Thread Mark Lawrence
On 13/02/2013 19:13, Ghadir Ghasemi wrote: Hi guys can you tell me what is wrong with this code?. It says unexpected indent and the bottom of the code everytime I run it. Thank you on=True while on == True: def eight_digit_binary1(message): response1 = input(message) while

[Tutor] Binary Addition

2013-02-13 Thread Ghadir Ghasemi
Hi guys can you tell me what is wrong with this code?. It says unexpected indent and the bottom of the code everytime I run it. Thank you on=True while on == True: def eight_digit_binary1(message): response1 = input(message) while len(response1) > 8: response1 = input(me

[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