+ 1
how to create lists automatically? Python
create list1 list2 list3 ... but think of themselves
5 ответов
0
n = int(input())
for i in range(1, n+1):
exec("lst{} = [] ".format(n))
#To create n empty lists with name lst"n"
+ 4
x='Hello'
print(list(x))
#output=['H','e','l','l','o']
+ 1
hey, can you please explain you question a bit more? for which language?
0
python sorry
0
for now they are just empty lists