Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren+ 2
Is there an undo in programming? (Especially Python)
Can you undo changes to a list, dictionary, etc? Just asking as I’m a complete beginner.
1 Antwort
+ 4
Yes and no, you would need to make a history or backup list. To the best of my knowledge, there is no programming language that does this for you. In fact, adding this feature would probably require quite a bit of logic.