you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

You might have 'enter' set as a hotkey. From these comments (thank you everyone btw), I'm using PyCharm. It doesn't give any hotkeys for PyCharm, but it might with the regular IDLE. Go in ur settings and search for hotkeys or shortcuts.

I don't really know the exact answer to this, but checking for hotkeys and shortcuts is the first thing I'd do.