Aug-15-2017, 04:31 PM
(Aug-15-2017, 04:27 PM)nilamo Wrote: How do you know that a Ryanair is a 6?
Unless you put it somewhere in your program (or if it's standardized, use a library/service), how do you expect python to know that whatever a "Ryanair" is means whatever meaning you attach to "6"? To python, they're just unrelated strings/numbers.
No I want to make a program so if a user types in Ryanair it comes back with the number 6 and then if someone types in AAL it comes back with 11 ect ect ect for every airline