> For the complete documentation index, see [llms.txt](https://kawsing.gitbook.io/opensystem/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kawsing.gitbook.io/opensystem/yun-suan-si-wei/python-install-on-windows/liu-cheng-kong-zhi-jia-ru.md).

# 流程控制:假如

```python
#-*- coding: utf-8 -*-
print("簡易四則運算")
n1=int(input("請輸入數字一: "))
n2=int(input("請輸入數字二: "))
op=input("請輸入 + - * /: ")
if op=="+":
    print(n1+n2)
elif op=="-":
    print(n1-n2)
elif op=="*":
    print(n1*n2)
elif op=="/":
    print(int(n1/n2))
else:
    print("不支援的運算符號")
```
