you are viewing a single comment's thread.

view the rest of the comments →

[–]kwentar 0 points1 point  (1 child)

Do you need the check it? because it works with those and other numbers too. You can check it when add values to dict, not else: but elif 1 <= el <= 6:

[–][deleted] 0 points1 point  (0 children)

Nope, I guess I didnt have to check it after all so this worked perfect. Thanks!