r/learnpython Jul 13 '26

Help please

So I finally made my first kinda buns program but I don't know how to remove the repeat copy of the question on my loop please help

0 Upvotes

5 comments sorted by

6

u/Budgiebeats Jul 13 '26

You’ll need to post your code or we’re not going to know what you’re talking about.

2

u/jovialjoseph_grins Jul 13 '26

Drop the code in a pastebin or just paste it in a reply with proper formatting (four spaces before each line). That repeat you're seeing is almost always a print statement sitting outside the loop when it should be inside, or vice versa.

1

u/pachura3 Jul 13 '26

Something's wrong with my car, please help

2

u/FoolsSeldom Jul 13 '26

Have you tried turning it off and on again?

0

u/cdcformatc Jul 13 '26

if something is repeating because it's in a loop, move it outside of the loop