Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+13 votes

We had this issue, and realized we were using "list.extend" rather than "list.append" for adding our new generation. list.extend will treat the string like a list, and add each index (char) to the list. This is not what we want. Append will add the string, as an object, to the end of the list, which is what we want.

asked in CSC320 by (1 point)

1 Answer

+2 votes

Nicely put Stowe. Moral of the story, use append instead of extend so that Stonedahl won't have to help you debug for 20 minutes...

answered by (1 point)