While it is possible to use a list comprehension to generate unique variable names, it is generally better to use a for loop for clarity and readability. Here's an example of using a list comprehension:
[locals()[fvar_{i}] = i * 2 for i in range(10)]
print(var_0, var_1, var_2) # Output: 0 2 4