title: Creating a graph from a math function
body: <p>I am having trouble learning to plot a function in python. For example I want to create a graph with these two functions:</p>
  
  <pre><code>y=10x
  y=5x+20
  </code></pre>
  
  <p>The only way I found was to use the following code</p>
  
  <pre><code>import matplotlib.pyplot as plt
  plt.plot([points go here], [points go here])
  plt.plot([points go here], [points go here])
  plt.ylabel('some numbers')
  plt.show()
  </code></pre>
  
  <p>and to manually enter data points, but I have some tougher problems coming up so that would be really difficult.</p>
  
  <p>Is there a way to just put in what function I need a plot for and have python create the graph for me?</p>