r/PythonLearning • • Sep 14 '26

🥲Don't know why I wrote this code NSFW

Post image
140 Upvotes

35 comments sorted by

View all comments

2

u/Next-Call8862 Sep 14 '26

del my_life[:len(my_life)]

That should do it.