要从电报机器人获取信息,您需要输入密码。如果密码不对,怎么写代码让它不提供信息,求助
def start(update: Update, context: CallbackContext):
update.message.reply_text('Добро пожаловать')
while True:
Password = update.message.reply_text('введите пароль',update.message.text)
if Password == "9900":
update.message.reply_html('Imzo Factory', reply_markup=buttons)
break
else:
update.message.reply_html('введите пароль')