0

I am trying to make a simple program and i am interested if possible to make a variable in python using a concatenated string, see example below:

i=0
while i < 6:
    'Var'+str(i)=input ('Enter name').

so in above i will have a variable of Var0, Var1,Var2, and so on.

Wes Hardaker
  • 20,929
  • 2
  • 37
  • 68

0 Answers0