Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.059 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; 'sep': 0.09; 'cc:addr :python-list': 0.10; 'idx': 0.16; 'message-id:@unknownmsgid': 0.16; 'wrote:': 0.17; 'cc:2**0': 0.23; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'request,': 0.29; 'url:mailman': 0.29; 'basic': 0.30; 'url:python': 0.32; 'received:209.85.160.46': 0.32; 'print': 0.32; 'url:listinfo': 0.32; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'but': 0.36; 'url:org': 0.36; 'anything': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'url:mail': 0.40; 'subject:For': 0.75; 'obvious,': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type; bh=J5WFXNF+XhKlF5wqOlBpNfvSy45tvDRMjY4BVn2IIvQ=; b=L/umrbf7hHPgTVRdVSWdmPsv+WEnFVG3U8MpSftUBP/ZC5oZiyGv2bRx619ebd9osX qNDuUJASpYrBAE/Ktm8V43g+jp9Sdi/+qOrv+rONGSUZfDQM2TH23HulaJMcM8fhwlIo 1oZPjeAacXEU6uDdXs+l1n45bTbjOiObvBJzR23N5Fyv2uEAV7qX56CQK6IzbwZlquja elgwleN/yTKKCn/5K66oirRgkap5WQRa4RBHF3Ef65SUDq9Ompomoy1cshjWIXyUJe1K 4m3Vv2gg+E5CXoLz1CI9apv/3W+idH52fWhiK0LWRHEyU5scOwJdVhAyM0a3g2TitJRi drPw== References: <10965867-a44f-4146-aea2-fd1a1e8f8e3b@googlegroups.com> From: Rodrick Brown In-Reply-To: <10965867-a44f-4146-aea2-fd1a1e8f8e3b@googlegroups.com> Mime-Version: 1.0 (1.0) Date: Sun, 23 Sep 2012 12:45:20 -0400 Subject: Re: For Counter Variable To: jimbo1qaz Content-Type: text/plain; charset=ISO-8859-1 Cc: "python-list@python.org" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1348418733 news.xs4all.nl 6912 [2001:888:2000:d::a6]:44795 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29823 On Sep 23, 2012, at 12:42 PM, jimbo1qaz wrote: > Am I missing something obvious, or do I have to manually put in a counter in the for loops? That's a very basic request, but I couldn't find anything in the documentation. for idx in : print (idx) i.e.. for idx in range(10): print(idx) > -- > http://mail.python.org/mailman/listinfo/python-list