Assignment 8 — multi-input problem solving

Due Friday, September 14, extended to Monday, September 17


Problem manhattan_distance.py

( 0.05 × | s1 – s2 | ) + ( 0.15 × | a1 – a2 | )

Two different sample runs

Starting corner (street and avenue): 59 6

Ending corner (street and avenue): 34 7

1.4

Starting corner (street and avenue): 47 2

Ending corner (street and avenue): 238 6

10.15



street map nyc times square area