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