ユーザーが入力したデータの取得には「input」という関数を使います。作業ディレクトリ以下に、「user.py」というスクリプト名で次のようなコードを作成してください。 user_uttr = input("ユーザー発話> ") print("ユーザーの発話内容:", user_uttr) このスクリプトで ...
If you work with strings in your Python scripts and you're writing obscure logic to process them, then you need to look into ...