[Python] Runtime Error Message: Line 11: ValueError: invalid literal for int() with base 10: ''


  • 1
    S

    Runtime Error Message: Line 11: ValueError: invalid literal for int() with base 10: ''
    Last executed input: "10"

    Any idea?


  • 0
    S

    generally int("10") should run perfectly fine.

    please make sure the argument to int() function doesn't have spaces/special characters, etc.,


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.