Day 16: Exceptions - String to Integer

  • + 1 comment

    Hey, Here is my code : " if name == 'main': a = input() try: print(int(a)) except Exception: print('Bad String') " and the rerult is: "Error reading result file.You should use exception handling concepts."

    help me please :)