[Tutor] I am trying to print list elements but i am getting 'none'
ramit.prasad at jpmorgan.com
Wed Oct 12 16:54:38 CEST 2011
> for item in list:
> print item
Or you could do this inline with:
print ' '.join( myList ) # Change ' ' to be the separator you desire if you want something other than a space between elements?
Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology
712 Main Street | Houston, TX 77002
work phone: 713 - 216 - 5423
This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.
More information about the Tutor