""" while True: inp = raw_input('Age=>') if inp == 'stop': break elif not inp.isdigit(): print 'Bad!' * 8 else: print int(inp) ** 2 print 'bye' """ while True: inp = raw_input('Age=>') if inp.lower() == 'stop': break try: print float(inp) ** 2 except: print 'Bad!' * 8 print 'bye' """ assert test, mesaage __debug__ python -O m.py """