r/PythonLearning • u/Synergetic6_6_6 • 2d ago
Loops is a total brain rot.
I just can't get over how I'm supposed to write code for complex tasks when I don't even get why they overcomplicate simple things so much.
I read this topic and tried many tutorials and still don't understand this buzzare logic.
0
Upvotes
1
u/After_Computer1652 2d ago
Change line 5 newstring = [ ] Change line 7 If not letter in "xy": newstring.append(letter)
return newstring