0
I need some help here. I need the answer .on how to solve this.
When you go out to eat, you always tip 20% of the bill amount. But who’s got the time to calculate the right tip amount every time? Not you that’s for sure! You’re making a program to calculate tips and save some time. Your program needs to take the bill amount as input and output the tip as a float. Sample Input 50 Sample Output 10.0
2 Antworten
+ 2
You should have attached your try first
Ref:
https://www.sololearn.com/discuss/2828777/?ref=app
https://www.sololearn.com/discuss/2690415/?ref=app
https://www.sololearn.com/discuss/2738734/?ref=app
https://www.sololearn.com/discuss/2742307/?ref=app
https://www.sololearn.com/discuss/2828774/?ref=app
https://www.sololearn.com/discuss/2776420/?ref=app
https://www.sololearn.com/discuss/2898719/?ref=app
https://www.sololearn.com/discuss/2709597/?ref=app
https://www.sololearn.com/discuss/2730527/?ref=app
https://www.sololearn.com/discuss/2912789/?ref=app
https://www.sololearn.com/discuss/2688630/?ref=app
https://www.sololearn.com/discuss/2809685/?ref=app
https://www.sololearn.com/discuss/2860116/?ref=app
+ 1
print(int(input())*.2)
# Good Luck