title: How do I get my code to loop back to an input once it has been executed already? (RPG Game)
body: <p>I'm a beginner at Python and thought it would be fun to code a text-based RPG game. It is by no means efficient, I'm just doing it for the fun of it.</p>
  <p>I want my code to loop back to a specific decision path I have created where you can choose to do different actions. These actions are different subroutines that it calls depending on what you enter. However, I can't figure out how to get it to loop back once you have already chosen and completed an action.</p>
  <p>Here is the code:</p>
  <pre><code>print(&quot;\n~DECISION PATH~\n\n[READ NOTICE BOARD][TALK TO WIZARD][TALK TO BLACKSMITH][TALK TO ARMOURER][VIEW STATS]&quot;)
  action=input(&quot;\nWhat will you do? &quot;)
  
  if action == &quot;Read notice board&quot;:
      noticeBoard()
  elif action == &quot;Talk to wizard&quot;:
      wizard()
  elif action == &quot;Talk to blacksmith&quot;:
      blacksmith()
  elif action == &quot;Talk to armourer&quot;:
      armourer()
  elif action == &quot;View stats&quot;:
      viewStats()
  </code></pre>
  <p>If somebody could help me out that would be great. Thanks!</p>