問題タブ [index-error]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
3471 参照

python - IndexError: list index out of range in sys.argv[1] が発生しました

このコードをプロットしたいのですが、入力されました

IndexError: 行の範囲外のリスト インデックス: k = float(sys.argv[1])

誰でもこれを修正する方法を手伝ってもらえますか?