I imported myList from a .txt file (I converted the numbers to integers)
from math import *
myList = [100, 'sin', 0, 1]
x = pi
How would I go about calling the sin function for my given value of x?
myList[1](pi)
I hoped this would simply return sin(pi), but it does not, because it is just the string 'sin(x)'