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!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
- 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 Réponses
+ 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