for g in genes: if g in gene_dict: value = gene_dict[g] value = str((int(value)/3)) print(value) for val in value: val = int(val) sequ = sequences[val] #print(sequ) for p in