in reply to **HomeWork** Trying to search an array and match it to a user input
print "Please pick one of the following cities by entering any portion + of the beginning of the city name:($myCities)\n";
That way, your prompt always reflects what your program considers a list of valiid responses.
|
|---|