Assignment 8 — multi-input problem solving

Due Wednesday, January 31


Downloads


Program 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