Question: So I got this

```
      itemIds1 = ('2394328')
      itemIds2 = ('6546345')
      count2 = 1
      itemIdsCount = ('itemIds' + count2)
      while (count2 < 2):
                #Do stuff
                count2 = count2 + 1

```

I'm not sure if I explained this correct. But in line 4 I want to make the string to equal itemIds1 then once it looks make it equal itemsIds2.

If you don't know I'm clearly new to python so if you can explain what to do clearly that would be awesome.

Answer: 
Here are possible options:

1. Use `%s` 

> 
> itemIdsCount = 'itemIds%s' + count
> 
> 
>
2. Cast integer to string first

> 
> itemIdsCount = 'itemIds' + str(count)
> 
> 
>
3. Use `.format()` method

> 
> itemIdsCount = 'itemIds{}'.format(count)
> 
> 
>
4. If you have python 3.6, you can use F-string (Literal String Interpolation)

> 
> count = 1
> 
> 
> itemIdsCount = f'itemIds{count}'
> 
> 
>
if you need to equal string and integer maybe you should use str(x) or int(x). in this case itemIdsCount = ('itemIds' + str(count2))