me dale ste error
import getpass
REGISTRADOS = ('junior','kevin','roy','rony','katy','roxana','romel','kristian','pro')
CONTRASEÑAS = ('sistemas')
def login(usuario,passw):
if usuario in REGISTRADOS:
if passw in CONTRASEÑAS:
return 1
else:
print("\n\tCONTRASEÑA INCORECTA\n")
else:
return 2
usuario=input('ingrese el usuario: ')
passw = getpass.getpass("Introduce el password: ")
if login(usuario,passw)==1:
print('welcome')
else:
print('No registrado')
me sale ste error:
>>>
ingrese el usuario: junior
Warning (from warnings module):
File "C:\Python32\lib\getpass.py", line 92
return fallback_getpass(prompt, stream)
GetPassWarning: Can not control echo on the terminal.
Warning: Password input may be echoed.
Introduce el password: sistemas
welcome
>>>