Найти - Пользователи
Полная версия: Как разделить массив на части?
Начало » Python для новичков » Как разделить массив на части?
1
wor123456
A=
Нужно так:
a=1
b=2
c=3
spikejke
А что собственно в A = ?
 import string
>>> for n,x in enumerate(string.ascii_letters, start=1):
	exec("{0} = {1}".format(x, n))
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB