title: How to have a function feed another function's input
body: <p>I'm making a hangman game and testing how different letter picking algorithms fare, but to do this, the guessing algorithm function has to feed a letter into the hangman function's <code>input('Select a letter')</code>.</p>
  <p>How do you make it so that a function detects when another function is waiting for an input ?</p>