Skip to content

Commit d42c650

Browse files
authored
Create flight_data.py
1 parent bd8c0d8 commit d42c650

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Diff for: day40/flight_data.py

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
class FlightData:
2+
3+
def __init__(
4+
self, price, origin_city, origin_airport, destination_city, destination_airport, out_date, return_date, stop_overs=0, via_city=""):
5+
self.price = price
6+
self.origin_city = origin_city
7+
self.origin_airport = origin_airport
8+
self.destination_city = destination_city
9+
self.destination_airport = destination_airport
10+
self.out_date = out_date
11+
self.return_date = return_date
12+
self.stop_overs = stop_overs
13+
self.via_city = via_city

0 commit comments

Comments
 (0)