Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #94206

Re: Need assistance

Path csiph.com!usenet.pasdenom.info!news.albasani.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <torriem+gmail@torriefamily.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.038
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'yet.': 0.03; 'main()': 0.07; 'python': 0.10; 'def': 0.13; 'assignment.': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'main():': 0.16; 'received:192.168.43': 0.16; 'subject:assistance': 0.16; 'validation.': 0.16; 'wrote:': 0.16; 'first.': 0.18; 'hack': 0.18; 'input': 0.18; '2015': 0.20; "aren't": 0.22; 'sorry,': 0.22; 'trying': 0.22; 'bit': 0.23; 'header:In-Reply-To:1': 0.24; 'sort': 0.25; 'header:User-Agent:1': 0.26; 'that.': 0.30; 'code': 0.30; 'probably': 0.31; "can't": 0.32; 'getting': 0.33; "he's": 0.33; 'message-id:@gmail.com': 0.34; 'that,': 0.34; 'next': 0.35; 'done': 0.35; 'level': 0.35; 'expected': 0.35; 'but': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'johnson': 0.37; 'skip:p 20': 0.38; 'someone': 0.38; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'ever': 0.60; 'your': 0.60; 'subject:Need': 0.61; 'email addr:gmail.com': 0.62; 'charset:windows-1252': 0.62; 'course': 0.62; 'more.': 0.63; 'fulfill': 0.66; 'judge': 0.66; 'dangerous': 0.70; '100': 0.79; 'break.': 0.84; 'name=': 0.84; 'rick': 0.93
X-Virus-Scanned amavisd-new at torriefamily.org
Date Sun, 19 Jul 2015 23:16:55 -0600
From Michael Torrie <torriem@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Need assistance
References <225d4ac6-3b88-4844-805b-b4b00cd62ef4@googlegroups.com> <99ad55c0-0c1c-4442-9db7-c762f17cde04@googlegroups.com> <219b1f31-d34f-4ec2-846c-96ddd7170058@googlegroups.com>
In-Reply-To <219b1f31-d34f-4ec2-846c-96ddd7170058@googlegroups.com>
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.762.1437369426.3674.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1437369426 news.xs4all.nl 2847 [2001:888:2000:d::a6]:33519
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:94206

Show key headers only | View raw


On 07/19/2015 06:21 PM, Rick Johnson wrote:
> On Sunday, July 19, 2015 at 6:07:14 PM UTC-5, craig...@gmail.com wrote: 
>> def main():
>>     name= input('Enter your full name: ')
>>     split=name.split()
>>     Full_name=split[2],split[0], split[1]
>>     print(Full_name[2],',', Full_name[0], Full_name[1])
>>     
>> main()
> 
> Sorry, but this code is no where near done yet. What happens
> when the user enters invalid input? *BANG*

Give the guy a break. He's just barely been exposed to Python and he's
simply trying to fulfill the assignment's requirements.  Nothing more.
Judge the professor and course all you want.  But for a 100 level course
just getting people to get any sort of input is a challenge.  Once he's
mastered that, then he can learn about input validation.  You're
probably someone who can't remember ever not knowing how to program.
But most people aren't like that.  Got to learn a little bit at a time,
even if it's dangerous at the very first. It's not like he's going to be
expected to hack kernel code for his next assignment.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Need assistance craig.sirna@gmail.com - 2015-07-16 19:15 -0700
  Re: Need assistance Michael Torrie <torriem@gmail.com> - 2015-07-16 20:40 -0600
    Re: Need assistance craig.sirna@gmail.com - 2015-07-16 20:00 -0700
      RE: Need assistance "Joseph Lee" <joseph.lee22590@gmail.com> - 2015-07-16 20:12 -0700
  RE: Need assistance "Joseph Lee" <joseph.lee22590@gmail.com> - 2015-07-16 19:44 -0700
  Re: Need assistance Michael Torrie <torriem@gmail.com> - 2015-07-16 21:00 -0600
  Re: Need assistance Rob Gaddi <rgaddi@technologyhighland.invalid> - 2015-07-17 16:40 +0000
    Re: Need assistance Igor Korot <ikorot01@gmail.com> - 2015-07-17 12:54 -0400
    Re: Need assistance Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-17 20:00 +0100
  Re: Need assistance Denis McMahon <denismfmcmahon@gmail.com> - 2015-07-18 00:40 +0000
    Re: Need assistance Sibylle Koczian <nulla.epistola@web.de> - 2015-07-18 12:35 +0200
      Re: Need assistance Denis McMahon <denismfmcmahon@gmail.com> - 2015-07-19 00:59 +0000
        Re: Need assistance MRAB <python@mrabarnett.plus.com> - 2015-07-19 17:35 +0100
          flipping string order Denis McMahon <denismfmcmahon@gmail.com> - 2015-07-19 18:06 +0000
    Re: Need assistance Laura Creighton <lac@openend.se> - 2015-07-18 14:16 +0200
    RE: Need assistance "Joseph Lee" <joseph.lee22590@gmail.com> - 2015-07-18 09:05 -0700
    Re: Need assistance Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-07-18 12:18 -0400
    Re: Need assistance Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-18 18:34 +0100
      Re: Need assistance mm0fmf <none@mailinator.com> - 2015-07-18 19:51 +0100
        Re: Need assistance Joel Goldstick <joel.goldstick@gmail.com> - 2015-07-18 15:10 -0400
          Re: Need assistance mm0fmf <none@mailinator.com> - 2015-07-18 20:35 +0100
        Re: Need assistance Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-07-18 17:44 -0400
        Re: Need assistance Michael Torrie <torriem@gmail.com> - 2015-07-18 20:46 -0600
    Re: Need assistance Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-07-18 17:34 -0400
    Re: Need assistance William Ray Wing <wrw@mac.com> - 2015-07-18 14:28 -0400
    Re: Need assistance MRAB <python@mrabarnett.plus.com> - 2015-07-19 01:14 +0100
  Re: Need assistance craig.sirna@gmail.com - 2015-07-19 16:06 -0700
    Re: Need assistance Michael Torrie <torriem@gmail.com> - 2015-07-19 17:56 -0600
    Re: Need assistance Rick Johnson <rantingrickjohnson@gmail.com> - 2015-07-19 17:21 -0700
      Re: Need assistance Michael Torrie <torriem@gmail.com> - 2015-07-19 23:16 -0600
      Re: Need assistance Chris Angelico <rosuav@gmail.com> - 2015-07-20 15:25 +1000

csiph-web