Very minor nitpick: in python you can use `and`.