1
0

Pythonで「Pythonを対話モードで利用する」の動作を確認してみた

Posted at

概要

Pythonで「Pythonを対話モードで利用する」の動作を確認してみました。以下のページを参考にしました。

実装

以下のコマンドを実行しました。

$ python3
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 10*5-3
47
>>> num = 8
>>> price = 500
>>> num * price
4000
>>> help('if')

>>>

まとめ

何かの役に立てばと。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0