Posts by Mac Sabino • 1 point
2 posts
-
0
votes1
answer30
viewsA: how to include letters in my list in python and inform the user that it has been repeated
I’m not sure that’s what you wanted. But it seems to me that you are implementing a little game of a secret word, the player will kick the letter to form the word, and if he repeats the letter, a…
-
0
votes1
answer74
viewsA: Python, how to invert a chained list?
I added a new function called inverter() in the Unorderedlist class, thus leaving the new class: class UnorderedList: def __init__(self): self.head = None self.lstr=None def __str__(self): tmp =…