title: How to add an integer to each element in a list?
body: <p>If I have <code>list=[1,2,3]</code> and I want to add <code>1</code> to each element to get the output <code>[2,3,4]</code>,
  how would I do that?</p>
  
  <p>I assume I would use a for loop but not sure exactly how.</p>