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