Skip to main content

Thread: Python Word manipulation


hi folks. little problem stumping me. want to:

code:
def alter(take_old_word):       #somehow change bird ...ex: 32ab        return the_new_word    old_word = "bird"    new_word = alter(myword)
now... adding things can do, i'm not how split string single letters can do...nasty things

you can iterate on each character this:

code:
my_str = "bird"    c in my_str:   print c


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk [SOLVED] Python Word manipulation


Ubuntu

Comments

Popular posts from this blog

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

uppercase letters in url - Joomla! Forum - community, help and support

Joomla! Update is not offering Joomla 3 - Joomla! Forum - community, help and support