+2 votes
in Class 12 by kratos

Given the program

from scitools.StringFunction import

StringFunction

import sys

formula = sys.argv[1]

f = StringFunction(formula)

print f(2)

Will this input work?

Unix/DOS > python function.py ‘t**2’

1 Answer

+1 vote
by kratos
 
Best answer

No, This input will not work

...