A program for hospital bill calculator in python
Answers
Answered by
0
Answer:
program for calculating electricity bill in Python using and operator units=int(input("Number of unit consumed: ")) if(units>0 and units<=100): payAmount=units*1.5 fixedcharge=25.00 elif(units>100 and units<=200): payAmount=(100*1.5)+(units-100)*2.5 fixedcharge=50.00 elif(units>200 and units<=300): payAmount=(100*1.5 ...
Similar questions