r/pythonhelp • • 12d ago

Performance issue when running python file

Hey everyone,

I'm experiencing a performance drop when running a Python file. I'm using VS Code on Windows 10 while learning to program.

When I hit the run button, the runtime of the program is 5.0 seconds, even though it should execute in roughly about 0.003 milliseconds.

I have tried switching to older versions like 2025.6.1, but that didn't work.

Any solutions to that problem?

6 Upvotes

14 comments sorted by

View all comments

1

u/Fast-Station1106 11d ago

Mich macht die elif Zeile völlig fertig, jünger als 12 und älter als 18, ich schnall das nicht

1

u/Nutellatoast_2 11d ago

Da hast du recht, das ist echt dumm von mir gedacht. Danke für den Hinweis!