Skip to content

vishal815/Pizza_Order_and_bill_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Pizza Order and Bill Calculator

image

Overview

Welcome to the Pizza Order and Bill Calculator! This project is designed to order pizzas and calculate the total bill. It's a simple and efficient tool developed in Python to handle pizza orders, manage different sizes and toppings, and provide a detailed bill breakdown.

Features

  • Pizza Ordering System: Choose from various pizza sizes and toppings.
  • Bill Calculation: Automatically calculate the total cost based on selected options.
  • User-Friendly Interface: Easy-to-use ordering experience.
  • Customizable: Easily add or modify pizza sizes and toppings.

Script Details

The main script allows users to order a pizza by choosing the size, adding pepperoni, and opting for extra cheese. It ensures that all inputs are valid and calculates the final bill based on the selected options.

Script Functionality

  1. Welcome Message

  2. Pizza Size Selection:

    • Prompts the user to choose a pizza size (S, M, L).
    • Validate the input to ensure it's one of the accepted values.
  3. Pepperoni Addition:

    • Asks if the user wants to add pepperoni (Y, N).
    • Validates the input and if yes, prompts for the size of pepperoni (S, L).
  4. Bill Calculation:

    • Calculates the bill based on pizza size, addition of pepperoni, and extra cheese.

Installation

  1. Clone the repository:
    git clone https://github.com/vishal815/Pizza_Order_and_bill_calculator.git
  2. Navigate to the project directory:
    cd Pizza_Order_and_bill_calculator

Usage

  1. Run the main script to start the application:
    python main.py
  2. Follow the steps to place your pizza order.
  3. The total bill will be calculated and displayed at the end.

Happy Learnig 😃