Posts by Luiz Fernando Andrade • 1 point
1 post
-
0
votes2
answers4433
viewsQ: Typeerror: 'str' Object does not support item assignment
I made my "version" of a game I saw in a book. def hangman(a): stages = ["", "________ ", "| ", "| | ", "| 0 ", "| /|\ ", "| / \ ", "| " ] wrong = 0 board = "__" * len(a) letters = list(a) win =…