""" while True: inp = raw_input('Age?') if inp.lower() == 'stop': break elif not inp.isdigit(): print 'Bad!' * 8 else: print float(inp) ** 2 """ while True: inp = raw_input('Age?') if inp == 'stop': break try: print float(inp) ** 2 except: print 'Bad!' * 8