I want to return a tuple from a function. I want to append the second element of that tupple to a list. For example
mylist = [] def somefunc(): return(3.14, 'some string') somenum, mylist.append(??) somefunc() obviously, the syntax doesn't work. This should be easy, but I've never seen example code. any pointers? -- -- David Bear College of Public Programs at Arizona State University _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor