Answers for "How to call any function with it name as a string"

0

How to call any function with it name as a string

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

Code answers related to "How to call any function with it name as a string"

Python Answers by Framework

Browse Popular Code Answers by Language