[solved] – Question 97822
You decide to go for a very long drive on a very straight road. Along this road are five cities. As you travel, you record the distance between each pair of consecutive cities. You would like to calculate a distance table that indicates the distance between any two of the cities you have encountered. Write a Python program, including comments, that will ask user for a string of integers separated by comma. You program must display a 5 by 5 array of numbers representing the distance between cities.
Expert Answer
OR