On 07/19/2015 05:06 PM, craig.si...@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? -- https://mail.python.org/mailman/listinfo/python-list