>>589
https://github.com/pyenv/pyenv#installation
まず公式読んで

>>592
while True:
  answer = input('パスワードは?:')
  if answer in ['パスワード', 'pass', 'パス']:
    break
print('OK')

先にチュートリアルで構文を学ぼ
https://docs.python.org/ja/3/tutorial/