with letters?)
if so, maybe you need to create a class for this
consider to use sympy
yes with letters I solved it more simple f= input() func= lambda x : eval(f)
Обсуждают сегодня