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!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
- 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 ответов
+ 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