Jun-28-2018, 01:48 AM
This is your problem:
(i, j) = str('Jan')You have two variables on the left side, and an iterable on the right ('Jan'). So python goes through the iterable and assigns 'J' to i, and 'a' to j, and then raises the error when it has nowhere to assign 'n'. If you want to assign 'Jan' to both i and j, you need:
i, j = 'Jan', 'Jan'Note that I didn't use str('Jan'). That's because str('Jan') is redundant: 'Jan' is already a str.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures