Day 16: Exceptions - String to Integer

  • + 1 comment

    I don't konw what is the problem of this

    try:
            print(int(S))
    except ValueError:
            print("Bad String")
    

    result: Error reading result file.You should use exception handling concepts.

    I