Skip to content

Invalid Literal For int() With Base.. Error #21489

Answered by fire-eggs
omerbykbs asked this question in General
Discussion options

You must be logged in to vote

What @airtower-luna and others are looking for is the code that you’ve currently written. Copy it from your terminal / editor / browser, and paste it as a reply here using the “preformatted text” icon. We don’t want screenshots, we want text.

Based on your template code, the program needs to prompt for input, and you, as the user, must manually enter the data. As @airtower-luna points out, you need to use input correctly, e.g.:

grades = input('enter grades')

You then would type in the necessary string, i.e. 81,77,92,88.

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants