Python doesn\'t use {} to enclose a function, resulting that it\'s hard to move the cursor to the end of a function.
{}
For example, in visual studio code (Mac)