types={} c=input("Car: ") while c != '': car, colour = c.split() types[car] = colour colour=input("Car: ") print(types)
Output:Car: bg
Error:Traceback (most recent call last):
File "program.py", line 5, in <module>
car, colour = c.split()
ValueError: not enough values to unpack (expected 2, got 1)
What is this error that I am getting? PLease help.