tag:blogger.com,1999:blog-8722048993094113071.post132077551325264590..comments2023-09-11T06:34:38.721-07:00Comments on The world is amazing: Python: How to chomp a stringUnknownnoreply@blogger.comBlogger1125tag:blogger.com,1999:blog-8722048993094113071.post-24572452885231922342015-05-08T01:29:42.297-07:002015-05-08T01:29:42.297-07:00Hi,
Be careful as strip will remove also the spac...Hi,<br /><br />Be careful as <b>strip</b> will remove also the spaces at the beginning.<br /><br />To just remove the new line at the end, you can use <b>rstrip</b> instead.Jeffnoreply@blogger.com