title: Plotting exponential function
body: <p>I'm relatively new to Python.
  I'm trying to plot exponential term value ranging between 0 and 100.
  There is no error indicated with the code but the Plot has no legend(line).
  Kindly help me.
  Thank you.</p>
  
  <pre><code>import math
  import matplotlib.pyplot as plt
  
  for i in range (0,101):
      m = math.exp(i)
      print("For i = ",i)
      print("(e^i) = ",m)
  plt.plot(i,m,'b--',linewidth=3)
  plt.ylabel('e^i')
  plt.xlabel('i')
  plt.show()
  </code></pre>