Python 2.7.6 help with white spaces?
Scott W Dunning
swdunning at cox.net
Thu Feb 6 20:22:00 EST 2014
More information about the Python-list mailing list
Thu Feb 6 20:22:00 EST 2014
- Previous message (by thread): Question about `list.insert`
- Next message (by thread): Python 2.7.6 help with white spaces?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I am having trouble figuring out how to remove spaces…. Assume variables exist for minutes and seconds. Each variable is an integer. How would you create a string in the format, 3:11 with no spaces. where 3 is minutes and 11 is seconds. Obviously when I… print minutes, “:”, seconds I get 3 : 11 how can I get it to print with no spaces? 3:11 I’m VERY new to python and coding in general and this is a question for a class I’m in for a test review. So, the most basic answer would be appreciated. Thanks for any help!! Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-list/attachments/20140206/5875d932/attachment.html>
- Previous message (by thread): Question about `list.insert`
- Next message (by thread): Python 2.7.6 help with white spaces?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list