Skip to content

Commit

Permalink
Create flight_data.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xnkit69 authored Sep 21, 2023
1 parent 289b054 commit 65d26cb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions day40 /flight_data.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class FlightData:

def __init__(
self, price, origin_city, origin_airport, destination_city, destination_airport, out_date, return_date, stop_overs=0, via_city=""):
self.price = price
self.origin_city = origin_city
self.origin_airport = origin_airport
self.destination_city = destination_city
self.destination_airport = destination_airport
self.out_date = out_date
self.return_date = return_date
self.stop_overs = stop_overs
self.via_city = via_city

0 comments on commit 65d26cb

Please sign in to comment.