Python 11.1 : Pizzas V1 (lists)

Python is a high-level programming language that is widely used for web development, scientific computing, data analysis, artificial intelligence, and many other applications. One of the key features of Python is its support for lists, which are ordered collections of elements that can be of different types. In this context, we can use Python to create a program that manages a list of pizzas, which we will call "Pizzas V1".

The Pizzas V1 program will allow us to add new pizzas to the list, remove existing pizzas, and display the current list of pizzas. We will use Python's built-in list functions, such as append(), remove(), and print(), to achieve these tasks. We will also use variables to store the name and price of each pizza.

To get started, we will define an empty list called "pizzas" and a boolean variable called "running" that will control the main loop of the program. Inside the loop, we will use input() statements to get user input for adding or removing pizzas, and a for loop to display the current list of pizzas. We will also use if statements to handle user input and error checking.

Overall, the Pizzas V1 program is a simple but useful example of how Python can be used to manage lists of data. With further development, we could add more features such as sorting, searching, and filtering the list of pizzas.