0
What's wrong in this code correct me please
Problem The given code is part of a flight tracker application. The team working on this project has added explanations to the code but the computer returns an error. Task Use comments to add the explanations in a way that doesn't result in errors Expected Output BA0117 New York 1580 //Mycode Storing the flight number flight_n = "BA0117" Storing the flight information destination = "New York" distance = 1580 print(flight_n) print(destination) print(distance)
1 Answer
+ 10
Yonathan Aditya Wijaya ,
the code contains lines that should be comments, but they are not.
the task says, that we have to make these lines a `comment` to run the code properly. so use `#` to mark all lines that are not lines with python code.
if you still get stuck or if you feel not familiar with the task of making comments, please repeat the related lesson.