Write a program to take user input for quantity and price of a notebook and show total cost providing 10% discount | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Write a program to take user input for quantity and price of a notebook and show total cost providing 10% discount

9th Aug 2018, 12:44 PM
pandey
pandey - avatar
2 Answers
+ 4
print((lambda qt,pr: 0.9*qt*pr)(int(input()),int(input())))
9th Aug 2018, 2:49 PM
Eduardo Petry
Eduardo Petry - avatar
0
where is the problem?
9th Aug 2018, 1:08 PM
Qwertiony
Qwertiony - avatar