converting list of strings `intstringlist` to list of integer `nums`,nums = [int(x) for x in intstringlist]