Typescript Loop Through Object Key Value Pairs In Python There Is No Restriction