0% found this document useful (0 votes)
13 views5 pages

ERUMA

Uploaded by

dharamadevi21
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views5 pages

ERUMA

Uploaded by

dharamadevi21
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

VELAMMAL VIDYALAYA ALAPAKKAM

CHENNAI
SENIOR SECONDARY COMPARTMENT

COMPUTER SCIENCE PROJECT WORK


ON
ELECTRICITY BILLING SYSTEM
SPORTS COMPETITION
ACADEMIC YEAR 2024-25

NAME : R PRAVEEN
MK SUNANDHA SHREE

CLASS : XI F

ROLL NO: : 12F45


11F55

SUBJECT : COMPUTER SCIENCE

TEACHER I/C : MR R RPRAVEEN

R PRAVEEN XI F COMPUTER SCIENCE PROJECT


BONAFIDE CERTIFICATE

Certified that this project work is a bonafide work done by

Mas. R PRAVEEN
MK SUNANDHA SHREE (Roll Number: 11F26
11F55 of class XI F of Velammal Vidyalaya

Alapakkam, Chennai 95 who carried out under my guidance and supervision.

Mr. R. Praveen
PGT CS

Submitted to Practical Examination held on ____________

Internal Examiner External Examiner

R PRAVEEN XI F COMPUTER SCIENCE PROJECT


AIM: To write a python program for the Electricity Billing system

PROGRAM CODE:
# ELECTRICITY BILLING
'''Project HINT: Two sectors - Domestic & Commercial
Domestic - Unit>200 - 2Rs, Unit >300 - 4 Rs , Unit >400 - 5 Rs, Unit >500 -
6Rs
Commercial - Unit>200 - 4Rs, Unit >300 - 8 Rs , Unit >400 - 10 Rs,
Unit >500 - 12Rs'''

print("********************************************")
print("PRAVEEN ELECTRICITY SERVICES")
print("********************************************\n")
l=[]
cid=int(input("Enter your CID: "))
cname=input("Enter your Customer Name: ")
area=input("Enter the Location: ")
phno=int(input("Enter your Phone Number: "))
cat=input("Enter the Category - Domestic / Commercial:")
unit=int(input("Enter the Electricity Units consumed: "))
if cat=="Domestic":
if unit>=0 and unit<=200:
print("Free Electricity")
elif unit>200 and unit<=300:
amt=unit*2
print("The Bill Amount payable is:",amt)
elif unit>300 and unit<=400:
amt=unit*4
print("The Bill Amount payable is:",amt)
elif unit>400 and unit<=500:
amt=unit*8
print("The Bill Amount payable is:",amt)
elif unit>500:

R PRAVEEN XI F COMPUTER SCIENCE PROJECT


amt=unit*10
print("The Bill Amount payable is:",amt)
if cat=="Commercial":
if unit>=0 and unit<=200:
amt=unit*2
print("The Bill Amount payable is:",amt)
elif unit>200 and unit<=300:
amt=unit*4
print("The Bill Amount payable is:",amt)
elif unit>300 and unit<=400:
amt=unit*8
print("The Bill Amount payable is:",amt)
elif unit>400 and unit<=500:
amt=unit*10
print("The Bill Amount payable is:",amt)
elif unit>500:
amt=unit*12
print("The Bill Amount payable is:",amt)
else:
print("SAVE ELECTRICITY !!!! ")
data=[cid,cname,area,phno,unit,amt]
l.append(data)
print("THE CUSTOMER INFORMATION FOR THE CURRENT BILL IS:\n",l)

R PRAVEEN XI F COMPUTER SCIENCE PROJECT


OUTPUT

RESULT: The python code for the electricity billing system was developed
and executed successfully.

R PRAVEEN XI F COMPUTER SCIENCE PROJECT

You might also like