while True:
try:
main_input = [int(x) for x in input("Enter the values for m & c respectively, separating with a space if its linear \nEnter the values for a, b, c, d etc. respectively, separating with a space if its a parabola\n: ").split()]
except ValueError:
print("Invalid! Try again:)
if len(main_input) >= 3:
string.ascii_lowercase[:26] = main_input
print(a)
break
Ошибка:
---------------------------------------------------------------------------
TypeError Traceback (последний последний вызов) в 209 210 elif len (main_input)> = 3: -> 211 string.ascii_lowercase [: 14] = main_input 212 print (a) 213 break
TypeError: объект 'str' не поддерживает назначение элементов