3 ms·
found you, was unsure of the username[:-1] though.
by rookie 17y ago
found you, was unsure of the username[:-1] though.
- tcdent 17y agohttp://docs.python.org/tutorial/introduction.html#lists http://docs.python.org/tutorial/introduction.html#lists
- callahad 17y agoSorry, I probably could've been a bit more clear: python -c "username = 'callahad'; print(''.join(('dan.', username[:-1], 'n', '@googlewave.com')))" But that starts bordering on being too verbose for my own amusement. And it requires semi-colons. In Python. Ick.