Showing results 1 to 2 of 2
Search took 0.01 seconds.
Posts Made By: tharippala
Forum: Python Oct 22nd, 2007
Replies: 3
Views: 1,644
Posted By tharippala
Re: newbee: list.append().append()

Ur question was why can't we do, a.append('1').append('2'). The reason is a.append('1') returns None, the line a.append('1').append('2') is equal to None. append('2'), which is a error
Forum: Python Oct 22nd, 2007
Replies: 12
Views: 108,906
Posted By tharippala
Re: How to do Input in Python?

Looks like a funny issue, I couldn't re - produce it. But Ican suggest you the solution.

try this,

print "Why "+ test.strip() +" there a line break all the time?"

It has to work out, strip will...
Showing results 1 to 2 of 2

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 11:41 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC