nooo que es eso de hacer while True: ... if algo: break; eso es feo! mucho más lindo lo que propusieron de while not edad.isdigit(): print "No ingresaste un nro!" edad = raw_input() 2009/9/16 Facundo Batista > 2009/9/16 Roberto Alsina : > > > while True: > > edad=raw_input('¿Cuantos años tenes?') > > if edad.isdigit(): > > break > > print 'No ingresaste un numero!' > > +1 > > -- > > . Facundo > > Blog: http://www.taniquetil.com.ar/plog/ > PyAr: http://www.python.org/ar/ > > --------------------------------------------------------------------- > Para dar de baja la suscripcion, mande un mensaje a: > pyar-unsubscribe@decode.com.ar > > Para obtener el resto de direcciones-comando, mande un mensaje a: > pyar-help@decode.com.ar > > PyAr - Python Argentina - Sitio web: http://www.python.com.ar/ > > >