def main(): print('==Assignment 2==') flag=True while flag: a = input("pls input number:") try: a = int(a) flag=False except : print("pls input a number!") counter=0 total=0 while counter