Course Content
  • 1. How to Create An Indian Kirana Store Calculator & Receipt Generator In Basic Python?
    Free YouTube Video
  • 2. How To Find Factorial & No Of Trailing Zeros In A Factorial Of A Number In Python?
    Free YouTube Video
  • 3. How To Create A Currency Converter In Python? | Python Programming Practice (Hindi)
    Free YouTube Video
  • 4. How To Create A Python HTTP Server For Web Development?
    Free YouTube Video
  • 5. I Created an Automatic Folder Cleaner in Python
    Free YouTube Video
  • 6. I Created a Drink Water Notification Reminder App in Python
    Free YouTube Video
  • 7. I Created a Password Generator using Python
    Free YouTube Video
  • 8. I Created an Automatic Birthday Wisher To Auto-Wish Friends In Python
    Free YouTube Video
  • 9. How I Secure My Passwords Using Python
    Free YouTube Video

How to Create An Indian Kirana Store Calculator & Receipt Generator In Basic Python?

In this tutorial, we are going to learn how to create a store calculator and receipt generator using python.  
We are going to be using Pycharm IDE for this project. So we have to create an application which will take input from the user and add it until the user presses his enter key and then display the total price. Watch the video for better understanding of this project. 

This is a basic application whih can be used in stores to calculate and generate bill. This application will keep store the numbers user has put and will add them until the user presses "q" on their keyboard. Then the application will print the result as a bill. 

sum = 0
while (True):
	userInput = input("Enter the item price or press q to quit: \n")
	if (userInput!='q'):
		sum = sum + int(userInput)
		print(f"Order total so far: {sum}")
	else:
		print(f"Your Bill total is {sum}. Thanks for shopping with us")
		break

You need to be logged in to post a comment!

Comments

jidnyasamane9336 Jun 13, 2021
code ?????
paigameelm Jun 9, 2021
pdf download link.?
kalpesh46 Jan 11, 2021
Where is a Receipt Generator code?
Show 2 replies
zaid123 Nov 22, 2020
wow, this is awesome
rishdev14 Nov 9, 2020
This playlist is awesome!

Resources

No resource files associated with this project

Course Announcements

Any Course related announcements will be posted here