0
I got a problem in python
I have a problem in python when I run code I want to make it in one line and I use sys.stdout.write & end =‘’ Put the problem that it show in left and I want to make it in the right Like: sys.stdout.write(“_”) (“_”, end =‘’) And my input(enter your guess) Then it output. _______ enter your guess I want to make it enter your guess _______ Note :it is code for hangman game
2 ответов
+ 1
Can't you leave all printing for sys.stdout.write and leave input function empty?
0
input(‘Enter your guess: ______’)