#!/usr/bin/python #coding=gb2312 while True: reply=raw_input('Enter text:'); if reply=='stop': break; try: num=int(reply); except: print('Bad!'*8); else: print(int(reply)**2); print('bye');
#!/usr/bin/python #coding=gb2312 while True: reply=raw_input('Enter text:'); if reply=='stop': break; try: num=int(reply); except: print('Bad!'*8); else: print(int(reply)**2); print('bye');