New course! Every coder should learn Generative AI!
Try a free lesson0
Problem with 18 code project
Hi everyone, Iām new in programming and started from this course. Please help me with 18 code project about āTip calculatorā. My code is: bill = int(input(50)) tip = (bill*20/100) print(float(tip)) But the result isnāt correct by the system. Whatās my mistakes? Thank you in advance.
3 Answers
+ 6
Lilit ,
use only input or output in code coach exercises that is demanded in the task description, otherwise this creates errors with the test cases.
remove '50' from the input() function
+ 1
wow, thank you, I got it š
I also tried without float because of dividing (even if itās demanded in the task).
Once again thanks
0
I'm stuck here ECMAScript6 "Code Project" Quiz Lesson 64.1, help please. Thank you.