-
The following invocations of your program must work
./book_flight.py --date 2017-10-13 --from BCN --to DUB --one-way./book_flight.py --date 2017-10-13 --from LHR --to DXB --return 5./book_flight.py --date 2017-10-13 --from NRT --to SYD --cheapest./book_flight.py --date 2017-10-13 --from CPH --to MIA --shortest
where
--one-way(make this the default option) indicates need of flight only to location and--return 5should book flight with passenger staying 5 nights in destination,--cheapest(default) will book the cheapest flight and--shortestwill work similarlyThe program will output a PNR number which serves as confirmation of booking
The
--fromand--toparameters only need to support airport IATA codes
This repository was archived by the owner on Sep 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
blayson/python-vikend
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Task for Kiwicom python vikend
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published