Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone05.am1.xlned.com!bcyclone05.am1.xlned.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!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.116 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.77; '*S*': 0.00; 'main()': 0.07; 'def': 0.13; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'help!!!': 0.16; 'main():': 0.16; 'redundant,': 0.16; 'subject:assistance': 0.16; 'wrote:': 0.16; 'finished': 0.23; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'work.': 0.30; 'message-id:@gmail.com': 0.34; 'but': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'guys': 0.38; 'skip:p 20': 0.38; 'why': 0.39; 'does': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'still': 0.40; 'your': 0.60; 'subject:Need': 0.61; 'email addr:gmail.com': 0.62; 'back': 0.62; 'charset:windows-1252': 0.62; 'college': 0.67; 'homework': 0.84; 'name=': 0.84; 'why?': 0.91 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Sun, 19 Jul 2015 17:56:25 -0600 From: Michael Torrie 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> In-Reply-To: <99ad55c0-0c1c-4442-9db7-c762f17cde04@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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1437350191 news.xs4all.nl 2828 [2001:888:2000:d::a6]:34694 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3201 X-Received-Body-CRC: 1792555981 Xref: csiph.com comp.lang.python:94178 On 07/19/2015 05:06 PM, craig.sirna@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 it took so long to get back to you guys and I greatly > appreciate all the help!!! > > But I just did it now and it does work. I have been working on my > College algebra homework for the past week and I am still not even > finished or ready for the test....fml.... Now do you understand why it works and how? For example, if I said that the "full_name=...." line is redundant, do you understand why?