+ 2

How to use getpass on python

Hey guys. I'm working on a rock paper scissors game and it's already completed but i'm having trouble with 2 player mode to where the user input is echoed to the screen. Could someone tell me how to use getpass with the exception of GetPassWarning or something to prevent my code from echoing my input. link for code can be found here: https://code.sololearn.com/c1VVM4sPLDIk

11th Aug 2017, 3:37 AM
benjamin boakye
benjamin boakye - avatar
3 Answers
+ 8
on sololearn, no input better you can make two players fight, take example from : https://code.sololearn.com/cBHuMXT55e1l/?ref=app
11th Aug 2017, 4:06 AM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
+ 7
Code playground doesn't support multiple inputs so probably use some other IDE such as PyCharm or IDLE
11th Aug 2017, 3:55 AM
👑 Prometheus 🇾🇬
👑 Prometheus 🇾🇬 - avatar
+ 1
yea my bad. I used it in idle and it kept stating that IDLE would display the input
11th Aug 2017, 3:57 AM
benjamin boakye
benjamin boakye - avatar