Cald·17 年前·議論The earthquake epicenter was in Haiti. It wasn't felt as strongly in the Dom. Rep.About 6 years ago, an earthquake centered in the northern part of the island destroyed the nearby towns.
Cald·17 年前·議論I think the nonlocal keyword would make your second example work as you expect (but I can't test it as I don't have Python 3.0 installed here).See http://www.python.org/dev/peps/pep-3104/
About 6 years ago, an earthquake centered in the northern part of the island destroyed the nearby towns.