I don't why you would need it but here is one way
for x in range(5): globals()['a%s' % x] = f'Test{x}'
print(a1)
This is not the best practice, you can try using dic or list
dic
list