Input Problem in Console

Problem description: Cannot input in Console in a code that worked find few days ago

Expected behavior: It allowed me to input value for Player 1 or Player 2

Actual behavior: Now it allows me only to hit enter, on the blank rows i can input whatever i want

Steps to reproduce: https://replit.com/@DFilipov/day-14100-days#main.py

Bug appears at this link:

Browser/OS/Device:

Hi @DFilipov thanks for your message and welcome to the community.

The code is working as designed.

Line 1 of your program is:

from getpass import getpass as input

This module hides the user input in a console. If you want to see the input again, just remove this line.

5 Likes