El día 16 de septiembre de 2009 09:53, Ezequiel - escribió: > edad = raw_input("¿Cuántos años tenes?") > if not edad.isdigit(): >    print "No ingresaste un nro!" > else: >    print "tenes %s años" % edad >    #... > Para agregarle un chiche, sería más lindo si cuando pones cualquier cosa, te deje volver a ingresarlo. Se me ocurre así, pero es bien a la python-way?: edad = raw_input("¿Cuantos años tenes?") while not edad.isdigit(): print "No ingresaste un nro!" edad = raw_input() print "tenes %s años" % edad -- fisa - Juan Pedro Fisanotti --------------------------------------------------------------------- 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/