title: What is the difference between a function and a command?
body: <p>I was trying to explain how my code worked when I started to talk about <code>print()</code> and was confused as to whether it was a command or a function. </p>
  
  <p>I understand that you can define functions using <code>def x</code> where x is the name of the function, but what is the difference and could someone show me examples? </p>
  
  <p>Thanks.</p>