Reputation: 1409
When inputting the name Python3.6 is not displaying the required output
And here is the image of my build-system
Upvotes: 2
Views: 656
Reputation: 6065
This happens because the text you are typing into Sublime Text is not being passed to the Python interpreter. From the program's perspective, it is still waiting for input.
I don't think it's possible to modify this behavior in Sublime Text. This limitation is part of the text editor's functionality, and hopefully it will be addressed in a future release.
Upvotes: 2
Reputation: 1409
Here I got the solution :-
I installed SublimeRepl package in sublime-text3
Then I edited python file in sublimerepl, for this refer:- Sublimerepl-Python
3.Then I run my python file through SublimeRepl, and it worked
Upvotes: 2
Reputation: 11
Try this.
print('Hello {0}'.format(name))
and make sure using terminal to run your .py file
Upvotes: 0