0

How can I create a tip calculator using python

17th Jan 2023, 10:56 AM
Sarah Ipinmoroti
5 odpowiedzi
+ 4
Read the previous lesson again. Pay attention to input() and int(). Store the input in a variable, convert it to a numeric data type and calculate the tip. Output the result.
17th Jan 2023, 11:32 AM
Lisa
Lisa - avatar
+ 2
Remove the 2nd line – according to the task description, the tip is always 20%. Check the spelling "Bill" vs "bill" would be different variables. It needs to be "print", not "Print".
17th Jan 2023, 11:39 AM
Lisa
Lisa - avatar
0
Lisa Thank you so much
17th Jan 2023, 11:40 AM
Sarah Ipinmoroti
0
Hi
18th Jan 2023, 1:49 AM
Tabish Khan
Tabish Khan - avatar