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