Question: while Valid: cost = float(input(Enter a thing cost: )) charge = cost * 0.07 absolute = cost + charge print(Tax on this thing is, charge,

while Valid: cost = float(input("Enter a thing cost: ")) charge = cost * 0.07 absolute = cost + charge print("Tax on this thing is", charge, "; absolute cost:", complete) another = input("Enter another cost? (indeed or no): ") if another.lower() == "no": break I get this error while Valid: NameError: name 'Valid' is not defined. What do i have to do? this is in python

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!