programmin
-
A Housing Society in a newly developed Smart City has provided
several advanced security systems to each house in that city. Based
on the value of these advanced security systems installed in each
house, the Society has divided all the houses in four categories and
fixed the criteria for annual maintenance charges.
Write a python program to accept customer id, customer name, house
category and cost of house for n customers.
The program should define and call a programmer defined function
with house category and cost of house as parameters and return the
final cost of house after calculating maintenance charges using
following table:
House Category Maintenance charges
A 8% of house cost
B 6% of house cost
C 4% of house cost
D 3% of house cost
The program should calculate the total cost of house (cost of house +
maintenance charges) and store customer id, customer name and
total cost of house in lists.
The program should display customer id, customer name and total
cost of house in form of a table. The total cost of house must be
displayed in OMR.
Note: Use f-string and escape sequence characters wherever possible.
Include the following comments at the beginning of your code. Make sur -
A Housing Society in a newly developed Smart City has provided
several advanced security systems to each house in that city. Based
on the value of these advanced security systems installed in each
house, the Society has divided all the houses in four categories and
fixed the criteria for annual maintenance charges.
Write a python program to accept customer id, customer name, house
category and cost of house for n customers.
The program should define and call a programmer defined function
with house category and cost of house as parameters and return the
final cost of house after calculating maintenance charges using
following table:
House Category Maintenance charges
A 8% of house cost
B 6% of house cost
C 4% of house cost
D 3% of house cost
The program should calculate the total cost of house (cost of house +
maintenance charges) and store customer id, customer name and
total cost of house in lists.
The program should display customer id, customer name and total
cost of house in form of a table. The total cost of house must be
displayed in OMR.
Note: Use f-string and escape sequence characters wherever possible.
Include the following comments at the beginning of your code. Make surYour post is misplaced. This forum is for discussing topics related to writing articles. You should have posted this using the link quick answers/Ask a Question[^]. However, "please write my code for me" questions are frowned upon. You are expected to actually show some code that you've written before asking for help.
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing. -
A Housing Society in a newly developed Smart City has provided
several advanced security systems to each house in that city. Based
on the value of these advanced security systems installed in each
house, the Society has divided all the houses in four categories and
fixed the criteria for annual maintenance charges.
Write a python program to accept customer id, customer name, house
category and cost of house for n customers.
The program should define and call a programmer defined function
with house category and cost of house as parameters and return the
final cost of house after calculating maintenance charges using
following table:
House Category Maintenance charges
A 8% of house cost
B 6% of house cost
C 4% of house cost
D 3% of house cost
The program should calculate the total cost of house (cost of house +
maintenance charges) and store customer id, customer name and
total cost of house in lists.
The program should display customer id, customer name and total
cost of house in form of a table. The total cost of house must be
displayed in OMR.
Note: Use f-string and escape sequence characters wherever possible.
Include the following comments at the beginning of your code. Make surEven if you posted this in the right place, you aren't going to get what you want. While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us to do it all for you. So we need you to do the work, and we will help you when you get stuck. That doesn't mean we will give you a step by step solution you can hand in! Start by explaining where you are at the moment, and what the next step in the process is. Then tell us what you have tried to get that next step working, and what happened when you did. If you are having problems getting started at all, then this may help: How to Write Code to Solve a Problem, A Beginner's Guide[^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!