User Profile
Collapse
-
haha, all good... i figured it out finally. i used enumerate... -
hey, thanks for that. However i am using python IDLE... i can't use '.replace' i have to use range or enumerate.......Leave a comment:
-
How do you replace a character in a string?
just wondering how to replace a space (' ') in a string to a dot ('.')
so far i have this...
thanksCode:def add_dots(game): for row in game: for char in row: if char == ' ':
No activity results to display
Show More
Leave a comment: