実際に機能する次のようなコードを使用したいと思います。
P = 20
n = 1
for x in range(1, P+1):
Ax = n #Hoping that you can name the variable from the current element in the range
n = n+1
変数 A1、A2、A3....A20 を作成したいのですが、この例では値が 1、2、3...20 になります...
これはまったく可能ですか? また、どのようなコーディングが必要ですか?
乾杯