How do you make a list inclusive?
<p>I have homework that asks me to make a list from 1 to 52 inclusive. (for a deck of cards) I was just wondering how do you make a list inclusive?</p>

<p>I know how to make a list, just am not sure how to make it inclusive. I searched on here for awhile and couldn't really find anything helpful.</p>

<p>Inclusive is a term that is often used when expressing bounds. It means that the range of this bound includes all values <strong>including</strong> the the inclusive value. An example of this would be:</p>

<p><em>Print all integers 1-5 inclusive.</em> 
The expected output would be:</p>

<p>1 2 3 4 5</p>

<p>The antonym of this term would be exclusive which would include all values <strong>excluding</strong> the exclusive value. An example of this would be:</p>

<p><em>Print all integers 1-5 exclusive.</em> 
The expected output would be:</p>

<p>1 2 3 4</p>

<p>It is important to note, that in programming generally the first value is  inclusive unless otherwise noted. In mathematics this can differ. Inclusive and exclusive ranges are often notated with [] and ().</p>

<p><a href="http://stackoverflow.com/questions/4396290/what-does-this-square-bracket-and-parenthesis-bracket-notation-mean-first1-last">What does this square bracket and parenthesis bracket notation mean [first1,last1)?</a></p>

python list python-3.x