[issue16417] Integer converted in tuple without request

2012-11-06 Thread Rosa Maria
ue no se inclina ante los niños" "Madre es el nombre de dios en los labios y en los corazones de todos los niños" > > De: R. David Murray >Para: rosem...@yahoo.com.mx >Enviado: Lunes, 5 de noviembre, 2012 17:17:35 >Asunto: [issue16417]

[issue16417] Integer converted in tuple without request

2012-11-05 Thread R. David Murray
R. David Murray added the comment: You did request a tuple: r = a - q * b, That is equivalent to r = (a - q * b,) which is a single element tuple. I had to put in some print statements in your loop to find that, it wasn't obvious. This is perhaps a disadvantage of Python's tuple notati

[issue16417] Integer converted in tuple without request

2012-11-05 Thread Rosa Maria
New submission from Rosa Maria: in instruction: b = int(input('Dame valor (mayor) de b = ')) later is an instruction: while b > 0: and the result is: Traceback (most recent call last): File "H:\Soft_nuevo\Reptil\GCD_MCD_Euclides_Extendido-0.py", line 39, in while b > 0: TypeError: