Posts by Joao Victor Lopes • 29 points
2 posts
-
1
votes2
answers339
viewsA: How to remove an object from a list during an iteration over the list itself
Hello, Thales. It seems the error consists of removing the object from the list that is serving as parameter for the iteration. A solution would be to store this parameter in a temporary variable…
-
1
votes3
answers46
viewsA: How to modify a repeat
Hello, Glebson! You can use a control variable and use one so that your loop is not interrupted unduly. As follows: numero = int(input('Digite um número:')) msg1 = ('Errado') msg2 = ('Tá osso em!')…
pythonanswered Joao Victor Lopes 29