Leetcode Permutation Sequence Gfg Practice Python For Loops