This is an easy answer if you do simple debugging. Print asgnts_list, as you create it from a dictionary (and why not just use the dictionary). Dictionaries are in "hash" order, so you are printing/using a list that is in jumbled order as a simple print statement will tell https://www.tutorialspoint.com/python3/p...ionary.htm
Help with displaying output of a python program?
Help with displaying output of a python program?
|
|
Messages In This Thread |
Help with displaying output of a python program? - by Simba9312 - May-10-2018, 11:59 PM
RE: Help with displaying output of a python program? - by tannishpage - May-11-2018, 02:53 AM
RE: Help with displaying output of a python program? - by woooee - May-11-2018, 05:23 PM
|
Users browsing this thread: 2 Guest(s)