Write a Python program to: ask the user to enter the price of an item. Note: use a whileloop to check the validity of the price and, if the user enters a price less than or equal tozero, to prompt for a valid price. Prompt the user for the quantity being purchased. If thequantity is ten or greater, apply a discount of 5 percent. (.95*price*quantity).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here