Python is going to be hard

Rock Neurotiko miguelglafuente at gmail.com
Wed Sep 3 20:16:56 CEST 2014


print(x)

:)


2014-09-03 20:10 GMT+02:00 Seymore4Head <Seymore4Head at hotmail.invalid>:

> import math
> import random
> import sys
> b=[]
> steve = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89]
> for x in steve:
>     print (steve[x])
>
> Traceback (most recent call last):
>   File "C:\Functions\blank.py", line 7, in <module>
>     print (steve[x])
> IndexError: list index out of range
> --
> https://mail.python.org/mailman/listinfo/python-list
>



-- 
Miguel García Lafuente - Rock Neurotiko

Do it, the devil is in the details.
The quieter you are, the more you are able to hear.
Happy Coding. Code with Passion, Decode with Patience.
If we make consistent effort, based on proper education, we can change the
world.

El contenido de este e-mail es privado, no se permite la revelacion del
contenido de este e-mail a gente ajena a él.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20140903/6c553788/attachment.html>


More information about the Python-list mailing list