Tip Calculator When you go out to eat, you always tip 20% of the bill amount. But who’s got the time to calculate the right ti | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 5

Tip Calculator When you go out to eat, you always tip 20% of the bill amount. But who’s got the time to calculate the right ti

6th Feb 2021, 3:12 PM
Utkirbek Yuldoshev
Utkirbek Yuldoshev - avatar
2 Answers
+ 8
Utkirbek Yuldoshev , Please show your attempt first, as they are code coaches to solve on your own. Learn from lessons carefully & try to understand it in order to solve. For code coaches, you are not suppose to ask for ready answers. David Ashton , has already showed you how it can be solved.
6th Feb 2021, 3:41 PM
Shivani 📚✍
Shivani 📚✍ - avatar
0
print(.2 * int(input())
6th Feb 2021, 3:29 PM
David Ashton
David Ashton - avatar