I have a certain class and i'm having difficulty setting up the__init__
constructor. I need it to take in zero or more strings as arguments, each giving a city name and state abbreviation, and indicating a destination along a tour of US cities.
For example:
Tour("New York, NY", "Lansing, MI", "Los Angeles, CA")
represents a tour that starts in New York city, proceeds to Lansing, and ends in Los Angeles.
Any ideas how to go about doing this using python 3.3?