Range Function In Geeksforgeeks Python Dictionary Setdefault