<p><br>
On Feb 17, 2014 12:05 PM, "Nir" <<a href="mailto:nirchernia@gmail.com">nirchernia@gmail.com</a>> wrote:<br>
><br>
> >>> k = ['hi','boss']<br>
> >>><br>
> >>> k<br>
> ['hi', 'boss']<br>
> >>> k= [s.upper for s in k<br>
S.upper()<br>
> >>> k<br>
> [<built-in method upper of str object at 0x00000000021B2AF8>, <built-in method upper of str object at 0x0000000002283F58>]<br>
><br>
> Why doesn't the python interpreter just return<br>
> ['HI, 'BOSS'] ?<br>
><br>
> This isn't a big deal, but I am just curious as to why it does this.<br>
> --<br>
> <a href="https://mail.python.org/mailman/listinfo/python-list">https://mail.python.org/mailman/listinfo/python-list</a><br>
</p>