You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an error in the dequeue method in the Queue class as when I'm running this program food_ordering_system.py . I'm getting an infinite loop
Placing order for: samosa
Placing order for:Now serving: pizza
pasta
Placing order for: biryani
Placing order for: burger
Now serving: samosa
Now serving: pasta
Now serving: biryani
Now serving: burger
Queue is empty
Now serving: None
Queue is empty
Now serving: None
Queue is empty
Now serving: None
Queue is empty
Now serving: None
Queue is empty
Now serving: None
Queue is empty
Now serving: None
and it goes on
I think this error can be solved by using the try and except block
I'm new to open source and trying to make my contribution.
I will work on this issue.
can you guide me?
The text was updated successfully, but these errors were encountered:
There is an error in the dequeue method in the Queue class as when I'm running this program
food_ordering_system.py
. I'm getting an infinite loopand it goes on
I think this error can be solved by using the
try and except
blockI'm new to open source and trying to make my contribution.
I will work on this issue.
can you guide me?
The text was updated successfully, but these errors were encountered: