Skip to content

Commit d698017

Browse files
committed
Pythonのバージョン確認方法についての説明を更新
1 parent 6a0b898 commit d698017

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Diff for: source/python-setup/start-up-and-interpreter.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,8 @@ macOSにはデフォルトでPython 2.7系がインストールされている
4343

4444
## Pythonの対話モード
4545

46-
{ref}`run-python-for-mac`と同様の方法でターミナルを起動し、以下のコマンドを入力します。
47-
48-
```console
49-
$ python3.9
50-
```
46+
{ref}`run-python-for-mac`と同様の方法でターミナルを起動し、`python{バージョン番号}`というコマンドを入力します。
47+
たとえば、Python 3.9がインストールされている場合は`python3.9`と入力します。
5148

5249
上記コマンドを実行するとPythonの対話モードが起動します。
5350

0 commit comments

Comments
 (0)