Path: csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.021 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'exercise': 0.04; 'languages,': 0.04; 'position,': 0.05; 'subject:code': 0.07; 'tests.': 0.07; 'replied': 0.09; 'resume.': 0.09; 'tests,': 0.09; 'cc:addr:python-list': 0.11; 'subject:Help': 0.11; 'python': 0.11; 'wrote': 0.14; 'interviewing': 0.16; '\xc2\xa0i': 0.16; 'subject:python': 0.16; 'followed': 0.16; 'student': 0.16; 'language': 0.16; 'input': 0.22; 'programming': 0.22; 'cc:addr:python.org': 0.22; 'candidates': 0.23; 'question': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'asked': 0.31; 'code': 0.31; 'figure': 0.32; 'candidate': 0.34; "i'd": 0.34; 'could': 0.34; 'subject:with': 0.35; 'offered': 0.35; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'thanks': 0.36; 'should': 0.36; 'two': 0.37; 'level': 0.37; 'clear': 0.37; 'skip:& 10': 0.38; 'whatever': 0.38; 'does': 0.39; 'extremely': 0.39; 'how': 0.40; 'card.': 0.60; 'interview': 0.61; 'back': 0.62; 'name': 0.63; 'high': 0.63; 'day.': 0.63; 'choose': 0.64; 'chance': 0.65; 'details': 0.65; 'phone': 0.66; 'college': 0.70; 'friends': 0.81; 'compose': 0.84; 'consisted': 0.84; 'exercise,': 0.84; 'replies.': 0.84; 'to:none': 0.92; 'acknowledge': 0.93; 'story.': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:cc:content-type; bh=znRWakSh1ORYLmY/L20Ydd5nOpG/nGCkAcZF/B5S7WQ=; b=u8L98/UuX8QLUxOtXzohBJ7ToMDg/Escsz1ZIlwzaty6L1XbrR+52KlXaZNj2Grg4O K+rD9LinIW5HILunAUAy/cW1hPBFA4jO6t973CUc3T95bqmJnc4HRVbE5WERRjP8BA3m tewLRLBaPB1p7Di9TPqq+8MLH++5kNevDn9WPU/Ut14BXX3r3Sp+JnXHsri7XzME3FLr yFkUtteut/JX+JXk54H5t9vgRMBfNkxfoDWGi574+eTJ9eq109p9TNP9rLZYYDTbLEcg ZXT4KGTZZ2wBH1hZKH4fVJTDW68K0MKOEqnNdL8ufVu1uASAzi3q6t1fBCZnnrWvg1pC j++w== MIME-Version: 1.0 X-Received: by 10.50.40.225 with SMTP id a1mr6424991igl.104.1364961560293; Tue, 02 Apr 2013 20:59:20 -0700 (PDT) In-Reply-To: <4455829d-5b4a-44ee-b65f-5f72d429ba9c@googlegroups.com> References: <37f23623-8bf5-421a-ab6a-34ff622c69f1@googlegroups.com> <2912c674-e30b-4339-9344-1f460cb96b23@googlegroups.com> <4455829d-5b4a-44ee-b65f-5f72d429ba9c@googlegroups.com> Date: Tue, 2 Apr 2013 21:59:20 -0600 Subject: Re: Help with python code! From: Jason Friedman Cc: python-list Content-Type: multipart/alternative; boundary=14dae9340cb7ef015504d96ce071 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: 57 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1364961569 news.xs4all.nl 6857 [2001:888:2000:d::a6]:39080 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:42623 --14dae9340cb7ef015504d96ce071 Content-Type: text/plain; charset=UTF-8 > Thanks for your replies. Just to be clear this is for a interview and they > would like me to figure out what the code does and come back with some test > cases. I don't need to code the tests, just give some high level tests. As > far as I can make out it is some system where you input your name and it > will bring back your details plus how much time you have left on your card. > Have to say I find the code extremely confusing, hopefully all python isn't > like this!! > This question causes me to recall this story. I was interviewing college student candidates for a Summer internship. The interview consisted of a 30-minute phone conversation followed by a 60-minute programming exercise (performed offsite). One candidate listed only VB and HTML as programming languages, but the candidate was local and thought I'd give the person a chance and some interviewing practice. Only two of nine candidates "aced" the programming exercise, and this candidate was one of them! The candidates could choose whatever programming language they liked, this candidate chose C#. I wrote back to acknowledge receiving the answers and asked why C# was not listed on the resume. The candidate replied that three friends helped compose the answer! I should have asked whether the candidate would, if offered the position, be able to bring those three friends to work every day. --14dae9340cb7ef015504d96ce071 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

=
Thanks for your replies. Just to be clear th= is is for a interview and they would like me to figure out what the code do= es and come back with some test cases. I don't need to code the tests, = just give some high level tests. As far as I can make out it is some system= where you input your name and it will bring back your details plus how muc= h time you have left on your card. Have to say I find the code extremely co= nfusing, hopefully all python isn't like this!!

This question causes me to recall th= is story. =C2=A0I was interviewing college student candidates for a Summer = internship. The interview consisted of a 30-minute phone conversation follo= wed by a 60-minute programming exercise (performed offsite). =C2=A0One cand= idate listed only VB and HTML as programming languages, but the candidate w= as local and thought I'd give the person a chance and some interviewing= practice. =C2=A0Only two of nine candidates "aced" the programmi= ng exercise, and this candidate was one of them! =C2=A0The candidates could= choose whatever programming language they liked, this candidate chose C#. = =C2=A0I wrote back to acknowledge receiving the answers and asked why C# wa= s not listed on the resume. =C2=A0The candidate replied that three friends = helped compose the answer!

I should have asked whether the candidate w= ould, if offered the position, be able to bring those three friends to work= every day.
--14dae9340cb7ef015504d96ce071--