Answers for "how to convert string to function name in python"

0

how to convert string to function name in python

def add(x,y):
	print('does something')
    
eval("add")(x,y)
Posted by: Guest on August-09-2021

Code answers related to "how to convert string to function name in python"

Python Answers by Framework

Browse Popular Code Answers by Language