in reply to print list element from function syntax

Not an expert on this but its something to do with doing to things at once. Geting a return from a function and the trying to take a element from the return. This works
print ((localtime)[2])."\n"

Replies are listed 'Best First'.
Re^2: print list element from function syntax
by bsdz (Friar) on Jun 25, 2004 at 12:54 UTC
    It kind of works but seems to ignore the newline character!