Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.067 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.00; 'developer,': 0.05; 'subject:question': 0.08; 'python': 0.09; 'lawrence': 0.09; 'cc:addr:python-list': 0.10; '"here': 0.16; 'wrote:': 0.17; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'am,': 0.27; 'question': 0.27; 'core': 0.27; 'replace': 0.27; 'there.': 0.28; 'starts': 0.29; 'code': 0.31; 'not.': 0.32; 'hi,': 0.33; 'list': 0.35; 'needed': 0.35; 'whatever': 0.35; 'expected': 0.35; 'really': 0.36; 'two': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'some': 0.38; 'received:192': 0.39; 'received:192.168': 0.40; 'skip:u 10': 0.60; 'first': 0.61; 'email addr:gmail.com': 0.63; 'more': 0.63; 'visit': 0.64; 'header :Reply-To:1': 0.68; 'received:74.208': 0.71; 'reply-to:no real name:2**0': 0.72; 'to:addr:yahoo.co.uk': 0.84; 'stretch': 0.91 Date: Wed, 05 Sep 2012 09:21:11 -0400 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: Mark Lawrence Subject: Re: Beginners question References: <782893e7-a2dc-4018-a5c6-2a9cd07ecf99@googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:RO4/HGi0NFxgRWI9fW7juPD1q5jwzbLe/B0guoHHcdP pZUpyrkoYLdaOcfZoKWEIUSLXSij3SNu1lZqV3BzhoB2kxGoOU QkCGj6VgdvkzMxgFoexyA3T1mrCa8uHD7CNNBNI7TUHBZmZlqH N0Dat8CpljR8iKb47RaeQnnN/As9tVsXxQk4mStVHT78cYel2G HEjL8FnepCCUowiDfUUYp1a3ZqxOU+fy3Ac415bHDS3rU8lq63 2q24WoC3Fw+p9SWLfxHaFz4Oe5clHBYRfRTzrbBZnho31bdn0V 9UFmbGGek92IOiwlwsO4fX9HmpnPWMgBOYdeJgxQ2DktLXQdQ= = Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: d@davea.name 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: 43 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1346851293 news.xs4all.nl 6893 [2001:888:2000:d::a6]:44678 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:28493 On 09/05/2012 04:03 AM, Mark Lawrence wrote: > On 05/09/2012 07:28, charvigroups@gmail.com wrote: >> Hi, >> >> I have attached python interview questions and answers for beginners. >> >> Please visit http://www.f2finterview.com/web/CorePython/ for core >> python and >> >> http://www.f2finterview.com/web/PythonAdvanced/ for advanced python >> >> > > The first question from the advanced list is really going to stretch > an advanced Python developer, so only gurus need bother as it's so > difficult. Not. > > If the interviewer wants the whole page, and not just the first line, then there's some understanding needed there. What bothers me more is the provided code and description: for c in xrange(len(records)): fvalues = records[c] ... and "Here we start a loop which starts from 1 (understood) to whatever the ..." Isn't an "advanced" Python user going to be expected to replace those two with for fvalues in records: ? -- DaveA