Python for Everybody - Intermediate Expressions

Tell us what’s happening:

I tried this code in Python but I got a traceback error.>>> usf = int(inp) + 1
Traceback (most recent call last):
File “”, line 1, in
ValueError: invalid literal for int() with base 10: ‘’

                     Like this one.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36

Challenge Information:

Python for Everybody - Intermediate Expressions

Hi and welcome to the forum! :wave:

Right before the line that causes an error, print inp and see what the value is.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.