> For the complete documentation index, see [llms.txt](https://jasonchang-ccs.gitbook.io/hello-python-tutorial/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jasonchang-ccs.gitbook.io/hello-python-tutorial/0-1/2.md).

# Run Python on IDLE

## 第一次執行python使用IDLE

在python的安裝路徑下，有一個叫做IDLE的執行檔，將IDLE點擊打開，會跳出python shell的執行環境，會顯示如下的版本訊息：

> Python 3.9.0 (v3.9.0:9cf6752276, Oct 5 2020, 11:29:23)\
> \[Clang 6.0 (clang-600.0.57)] on darwin\
> Type "help", "copyright", "credits" or "license()" for more information.\
> \>>>

此視窗稱為python shell，可以在這邊執行任何的python程式語言。

我們來試看看每個程式語言，第一個會學習的Hello World!怎麼印出來的。

```python
print('Hello world～')
print('This is Python.')
```

## 使用python shell執行一些簡單的數學運算

```python
2+2
(1+10)*10/2
```
