Python Real Life Project For Beginners | Bill Splitter in Python | Operators in python | Urdu/Hindi
Python Real Life Project For Beginners | Bill Splitter in Python | Operators in python | Urdu/Hindi
Note : Recplace (greater than) and (less than) with their sign/symbol ( Because Youtube donot allow angle brackets in description ) OR You can get this code on github by using github link
Code github Link : https://github.com/ubaidahmadceh/python_projects/blob/main/Bill_Splitter.py
code :
bill = float(input("What was the total bill? Rs."))
tip = int(input("How much tip would you like to give? 10%, 12%, or 15% ? "))
people = int(input("How many people to split the bill? "))
tip_as_percent = tip / 100
total_tip_amount = bill * tip_as_percent
total_bill = bill + total_tip_amount
bill_per_person = total_bill / people
final_amount = round(bill_per_person, 2)
print(f"Each person should pay Rs.{final_amount}")
electricity bill program in python,project in python,interesting python projects,python,free python project,python project,python projects,python tutorials,python programming,python mini project,python project ideas,python project in hindi,python project tutorial,python projects for practice,python programs for beginners,python projects for beginners,python tutorials for beginners,python project ideas for beginners,program to calculate the electricity bill