Issue
When I run the code
print("Hi")
input("Hello: ")
on Python Tutor (Python 3.6), I get the expected output (ignoring my input)
Hi
Hello:
However, when I run the same two lines on my computer, using Spyder 3.3.1 and Python 3.7 I get the output
Hi
Hello:
I would like to understand why this blank line appears in Spyder, and also how to get rid of it.
Solution
You are doing nothing wrong. Spyder is. This is a confirmed bug, issue #5242.
It appears the developers don't have time to fix it, it has been kicking around since September 2017:
Thanks for reporting. Although annoying, this is a simple bug and we don't have time to fix it right now. Sorry.
Answered By - Martijn Pieters
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.