Python Group HCM
Dear friends, if you're interested in learning Python with my group, please fill in this form.
Sign in to Google to save your progress. Learn more
Your name *
Contact details *
Birth year
Current job
When are you available?
Morning
Afternoon
Evening
Mon
Tue
Wed
Thu
Fri
Sat
Sun
Can you solve this problem in Python? *
A knight starts on any square1 on the chessboard. Write function knight(square1, square2) that returns one of the shortest paths for the knight to move from square1 to square2. For example, knight('d5', 'e6') should return either ['c7', 'e6'] or ['f4', 'e6']. If square1 is the same as square2, return []. Upload your code on GitHub and paste the link down below.
Your additional message
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy