Calculate the electricity bill by entering unit in Python
View All Python Programs Calculate the electricity bill by entering unit Per unit calculation charges on the following condition (1-100) Unit -Rs. 3 (101-500) Unit -Rs. 5 (501-1000) Unit -Rs. 8 (Greater than 1000) Unit -Rs. 10 Source Code u=int(input(“Enter unit :”)) if u>=1 and u<100: pu=3 elif u>=100 and u<500: pu=5 elif […]
Calculate the electricity bill by entering unit in Python Read More »