Computer Science, asked by hershe19, 3 months ago

python programs ---
A shop will give discount of 30% if the cost of purchased quantity is more than 20,000.
Ask user for quantity and print total cost for user.​

Answers

Answered by allysia
0

Answer:

Here you go,

\\\tt amount = int(inp ut("Enter\ amount\ to\ be\ paid : "))\\if\ amount>20000:\\{\qquad amount = amount*0.3}\\print("The\ amount \ to \ be \ paid \ after \ discount : ", amount)

Similar questions