How to switch from players 1 to players 2 and delete the player 1 word typed? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to switch from players 1 to players 2 and delete the player 1 word typed?

Switch from players 1 Hidden the word from player 2 and clear the all the word for players 1 and continues guess the word for if know what I mean.... players 2... https://code.sololearn.com/cRZ3QZfr1rs8/?ref=app

4th May 2020, 8:37 PM
Amxl Amixul
Amxl Amixul - avatar
1 Answer
0
You should check getpass module.... eg. import getpass password = getpass.getpass() print (password) This will take input, but do not print on screen.... It is like typing password in linux... And it doesn't work here on SoloLearn..... 😅
8th May 2020, 5:07 PM
DeWill
DeWill - avatar