Python tricks and techniques for concise Leetcode
impracticalprogrammer.com
impracticalprogrammer.com
But in the LC universe, you are required to do exactly that:
class Solution:
def trailingZeroes(self, n: int) -> int:
The impracticalprogrammer site is kind of fun though, and accurately named.