使用以下循环时,如何为生成的每个值创建单独的变量(循环发生时)?
例如:n=1,m1=1;n=2,m2=2;n=3,m3=3;等等。
如何将生成的每个变量(m1、m2等)及其赋值打印为单独的项?
for n in range(11): print(n)