Hi , Thanks for your response. Here is the input that I am supposed to the feed to the program 14 12 7 6 p. However, I seem to not be able to figure out where to feed the input into this code. Also, I am trying to edit the code to ask for user input every time it runs; however, I still cannot figure it out for the last two days. I wonder if you could help?
(Apr-13-2022, 02:45 AM)deanhystad Wrote: What arguments did you supply? None? When you run this program you need to provide:
2 goal labels
1 forbidden label
1 wall label
self.goal_labels = [int(input_list[0]), int(input_list[1])] self.forbidden_label = int(input_list[2]) self.wall_label = int(input_list[3])I have no idea what any of that means.
I think it is a bad idea forcing the user to provide command line arguments. Command line arguments should be optional, and your program should provide appropriate default values when not arguments are not supplied.