Assume inverse images of open sets are open. If xn→a and V is any open neighbourhood of f(a), then f−1(V) is an open neighbourhood of a. By the definition of convergence in a metric space, xn∈f−1(V) eventually, and hence f(xn)∈V eventually. Thus f(xn)→f(a).