JS and Python exercises