'hide input string without password function uses in python

I wanna hide user input string but don't wanna to use password function or getpass parameters. how can I solve this? because of when a player input his/her choice, another can't see that

like input 1st player choice : 2nd player choice :

like output 1st player choice : rock 2nd player choice : scissors

2nd player win!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source