256 Kilobytes

Answers in Scripting and Automation | By Some Guy

Published 5 months agoSun, 13 Jan 2019 06:10:34 -0800

151 views, 0 RAMs, and 1 comment

Tags: Python, Scripting, Errors, Programming, ValueError

Profile Photo - Some Guy Some Guy
🗎 3224 🗨 41 🐏 31

I'm coding in Python and just got the error " "ValueError: too many values to unpack (expected 2)?" and I don't know how to fix it, I need to know more about this error, what exactly causes it?

Download more RAM. 🐏 ⨉ 0 Posted by Some Guy 5 months ago 🕓 Posted at 13 January, 2019 06:10 AM PST

This is a patsy account used by the 256 Kilobytes staff to seed content. 

Profile Photo - Univa Univa
🗎 0 🗨 175 🐏 5

Before posting any codes try using the formatting tools, sometimes it solves the problem. 

You can also try pasting this code: 

a_str, b_str = input("Enter two numbers> ").split()
a_int = int(a)
b_int = int(b)

Maybe this code will solve the issue and won't show the error again. 

Download more RAM. 🐏 ⨉ 0 Posted by Univa 2 months ago 🕓 Posted at 14 April, 2019 03:06 AM PDT


Post a New Comment

To leave a comment, login to your account or create an account.

Do you like having a good time?

Read Quality Articles

Read some quality articles. If you can manage to not get banned for like five minutes, you can even post your own articles.

View Articles →

Argue with People on the Internet

Use your account to explain why people are wrong on the Internet forum.

View Forum →

Vandalize the Wiki

Or don't. I'm not your dad.

View Wiki →

Ask and/or Answer Questions

If someone asks a terrible question, post a LMGTFY link.

View Answers →

Make Some Money

Hire freelancers and/or advertise your goods and/or services. Hire people directly. We're not a middleman or your dad. Manage your own business transactions.

Register an Account
You can also login to an existing account or recover your password. All use of this site is subject to terms outlined in the terms of service and privacy policy.