I’m a beginner who just learned Python for 3 days.
The result value of end = " " is % at the end. This problem didn’t occur until yesterday.
for i in range(10):
print(i, end=" ")
It works normally at the terminal or idle.I also deleted the VSCode and re-installed it.
What’s the problem? I’d appreciate your help.
>Solution :
That’s not really there, and it’s not coming from Python. When you run a command from zsh and the output of that command doesn’t include a trailing newline, zsh displays that inverse-video percent sign to signal to the user that the newline is missing.
: