This is the error I get
Traceback (most recent call last):
File "C:\Users\jumic\PycharmProjects\SQLThing\KetoCounter.py", line 47, in <module>
append_mode()
File "C:\Users\jumic\PycharmProjects\SQLThing\KetoCounter.py", line 39, in append_mode
for a, b, c in to_append:
^^^^^^^
ValueError: too many values to unpack (expected 3)
and this is the part of the code throwing it
for a, b, c in to_append:
print("| ", a, " | ", str(b), " | ", c, " |")
I'm trying to loop through this tuple and format the output in a prettier way, it's defined as:
to_append = [(str, float, str)]
I haven't worked with python since school so I've probably misunderstood something here.