Professional Documents
Culture Documents
Project File Cs
Project File Cs
Computer science
Electricity Bill
By:Kshitij Jadwani
Acknowledgment
I would like to express my sincere gratitude to all those who have
contributed to the completion of this project. Their support, guidance, and
encouragement have been invaluable throughout this journey.
Last but not least, I want to express my gratitude to my family for their love,
understanding, and encouragement throughout this endeavor. Their
unwavering support has been the cornerstone of my success.
This project would not have been possible without the collective effort and
support of all those mentioned above. Thank you all for your invaluable
contributions.
Q. Wite a progam using python to make an electricity bill.
Source Code:
customername = input("Enter your name: ")
address = input("Enter your address ")
meternumber = input("Enter your consumer number: ")
billamount = x * unitrate
print("******************************************")
print("Electricity Bill")
print("Customer Name: ", customername)
print("Address: ", address)
print("Meter Number: ", meternumber)
print("Units Consumed: ", x)
print("Unit Rate: ", unitrate)
print("Bill Amount: ", billamount)
print("Due Date: ", duedate)
print("******************************************")
Output :
Enter your name: Kshitij
Enter your address 12, sewa nagar market
Enter your consumer number: 9999
Enter current meter reading: 12
******************************************
Electricity Bill
Customer Name: Kshitij
Address: 12, sewa nagar market
Meter Number: 9999
Units Consumed: 12
Unit Rate: 2.9
Bill Amount: 34.8
Due Date: 30th April 2023