So in case the above question doesn't make any sense, I have a function in Python (not written by me but I have to run it many times) that requires the use of the "input" function. I.e.
def foo():
x = input()
~~Do stuff~~
return ~~some relevant variable~~
But I don't want to have to type in the input every single time. What is the best way to "automatically" enter an input such that I don't have to continually input the values?
Important Edit: Its very important to note that I cannot change the function. The thing must be entered as an STDIN input
input