Question: You have been asked to develop a Python program that will assist a clerk who works at the Clark County Assessors Office that will assist

You have been asked to develop a Python program that will assist a clerk who works at the Clark County Assessors Office that will assist them calculating property tax for a given list of properties. The list is printed out by the clerk on paper. Don't use a Python list for this problem. It's not needed. :-).

The calculation used:

```text

property tax = property value x 0.0170

```

In your interview with the tax clerk Bruce, you learn that each peroperty ia assigned a lot number, and all lot numbers are numbered 1 or greater.

You decied to write a while loop that uses the number 0 as a **sentienl value**. During each loop iteration, the program will ask the clerk to enter either a property's lot number, or 0 to end.

Your program should ask for a lot number and the print out the proeprty tax if the lot number is greater than 0.

You will need to keep processing lots until the clerk is done using 0 as the sentinal for the lot number.

Name your function **taxProcessor()**.

here is the code but i got error red line at break

def taxProcessor():

n = int(input())

while(true):

if(n > 0):

property_value = n

property_tax = property_value * 0.0170

print(property_tax)

else:

if(n == 0):

break

taxProcessor()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!