+ 1

I have a problem

I have a problem with challenge in ball park orders the results are correct but i can,t seperate between the two answers because they are placed in the same place for task case #1 and task case #2, so the answer is considered wrong. Nachos_and_Pizza=6 Cheeseburger=10 Water=4 Coke=5 Tax= 1.75 Tax=1.12 Total=Water+Water+Water+Water+Tax print(Total) Tax=2.03 Total=Cheeseburger+Cheeseburger+Coke+Water+Tax print(Total)

31st Jul 2024, 11:36 AM
Mahmoud Muhammad Qasim AlShayeb
Mahmoud Muhammad Qasim AlShayeb - avatar
2 odpowiedzi
+ 3
Mahmoud Muhammad Qasim AlShayeb , the task description lacks for some more details. the *code* you presented looks like as it is python. but the code is missing any structure, logic, indentation, ... you started your coding journey about 10 days ago, also you started the tutorial `introduction to python`. please continue learning from the tutorial and practicing until you feel familiar with the basics of python. then give it a new try to solve this exercice.
31st Jul 2024, 3:36 PM
Lothar
Lothar - avatar
+ 1
Thank you very much :)
31st Jul 2024, 4:32 PM
Mahmoud Muhammad Qasim AlShayeb
Mahmoud Muhammad Qasim AlShayeb - avatar