[Tutor] For Loop

Alan Gauld alan.gauld at btinternet.com
Fri Oct 30 07:32:56 EDT 2015


On 30/10/15 01:27, Shelby Neely wrote:
> Hi, I was wondering if someone can complete a for loop in an array for me.

for item in anArray: print(item)

If that doesn't help then you are going to have to explain more
about what exactly you want to know. Show us your code, explain
what you expected to happen and what isn't working. Show us any
error messages.

Tell us your Python version and OS too.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list