Python exercise questions for beginners