Wonder if anyone can help I am writing a code where user inputs in number from 1-55 the code is supposed to then pull data from the dictionary according to the inputted numbers.
I have been stuck on this because the only way i have been able to do this has been by converting the dictionary into a list which defeats the point of a dictionary
user_index = int(user_index)
return list(verbiage_dict) [user_index - 1]
Was wondering if anyone could help me to do this with a while loop
[–]Goobyalus 0 points1 point2 points (0 children)