move the location
a part of codecademy python answer