Can’t Type in Python input()

Problem description

When I try to type in input()’s on the console on Python Repl’s it doesn’t let me, no matter what I do, even though it let’s me type in other places besides the console.

Expected behavior

It should allow me to type in the input()’s and carry out the rest of the code.

Actual behavior

But it instead doesn’t allow me to type and the code can’t proceed.

Steps to reproduce

  • Go and create a Python Repl and put in an input() line, Run the code and type in the console.

Browser

Safari

OS

Mac OS

Device if mobile

iOS

Plan

Core membership

Please upload screenshots

Hey @SalladShooter!

This isn’t a bug. You are running code from day 17 (I think) of Replit’s 100 days of code. On that day, they tell you to use this line of code:

from getpass import getpass as input

Which overrides the default input.

Your inputs work, they are just not shown.

2 Likes

@QwertyQwerty88 ah, I see. Thanks, I’m trying to help somebody and never got to Day 17 to see the import and what it does.

1 Like

Again, use getpass and import or even add e separation between the 2 inputs, they assume to happen at the same time

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.