Created on 9th April 2022
•
The problem it can solve is that it can be used in stores for creating smart vending machines supporting online payments. It erradicates the use of cash and provide a safe way to distribute food in airports, railway station and other important public places during this pandemic time.
The challenges we ran into was that how we could print the data of items list while running the program. It was solved by using literal string interpolation or more commonly as f-strings while printing the item detils from the items list. Second was to prevent the program from ending abruptly. This was handled by setting a common flag variable(run_vend) as true when the user needs a new transaction else we used break statement to exit if the user wrongly entered other input. To close it in a legal way, we set the flag variable as false to exit the program.
Technologies used