Python Forum
Dictionary/List Homework
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dictionary/List Homework
#21
Getting rid of those lines and adding in what you have said, still leaves me with the over all issue of inside loop repeating indefinitely. Getting the loop to print with a couple different methods has all worked, getting the loops to stop has not.

Okay, so I added break to the end of the inside loops and it will now stop. I am still not able to put another input in. This leads me to believe that I need to put the
options = input() inside the main while loop?
Reply
#22
(Dec-14-2018, 09:49 PM)ImLearningPython Wrote: This leads me to believe that I need to put the
options = input() inside the main while loop?

Yes.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply
#23
Thank you everybody for the help. I was finally able to get this finished enough to get an A.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with list homework eyal123 5 1,610 Nov-18-2022, 03:46 PM
Last Post: deanhystad
  Homework - List containing tuples containing dicti Men 4 1,979 Dec-28-2021, 12:37 AM
Last Post: Men
  Sorting list - Homework assigment ranbarr 1 2,200 May-16-2021, 04:45 PM
Last Post: Yoriz
  Loop through elements of list and include as value in the dictionary Rupini 3 2,586 Jun-13-2020, 05:43 AM
Last Post: buran
  How can details be dynamically entered into a list and displayed using a dictionary? Pranav 5 2,860 Mar-02-2020, 10:17 AM
Last Post: buran
  Functions returns content of dictionary as sorted list kyletremblay15 1 2,004 Nov-21-2019, 10:06 PM
Last Post: ichabod801
  have homework to add a list to a list using append. celtickodiak 2 1,968 Oct-11-2019, 12:35 PM
Last Post: ibreeden
  Dictionary Homework beepBoop123 3 2,558 Dec-11-2018, 10:00 PM
Last Post: buran
  making a dictionary from a list, one key with multiple values in a list within a list rhai 4 3,545 Oct-24-2018, 06:40 PM
Last Post: LeSchakal
  Need some help with list and dictionary .txt GeekLife97 3 3,759 Jan-20-2017, 08:00 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020