---
# System prepended metadata

title: 2-5 來個表格
tags: [DICE Python]

---

---
tags: DICE Python
---

2-5 來個表格
===

> [name=智人]

---

目錄：[DICE C語言程式破解](https://hackmd.io/@CHAWTeam/DiceC)
上一篇：[2-4 不是計算](https://hackmd.io/@CHAWTeam/DicePy-2-4)
下一篇：[2_1 倒印三角形](https://hackmd.io/@CHAWTeam/DicePy-2_1)

---

題目
---

```!
寫一個程式，印出如下的資料，同行的資料間以\t間隔:

輸出範例:

1	1	1
2	4	8
3	9	27
4	16	64
5	25	125
6	36	216
7	49	343
8	64	512
9	81	729
10	100	1000
```

程式碼
---

```py=
print(1,1,1)
print(2,4,8)
print(3,9,27)
print(4,16,64)
print(5,25,125)
print(6,36,216)
print(7,49,343)
print(8,64,512)
print(9,81,729)
print(10,100,1000)
```

輸出
---

```!
1       1       1
2       4       8
3       9       27
4       16      64
5       25      125
6       36      216
7       49      343
8       64      512
9       81      729
10      100     1000
```

---

[查看我們在HackMD上的所有筆記](https://hackmd.io/@CHAWTeam)
目錄：[DICE C語言程式破解](https://hackmd.io/@CHAWTeam/DiceC)
上一篇：[2-4 不是計算](https://hackmd.io/@CHAWTeam/DicePy-2-4)
下一篇：[2_1 倒印三角形](https://hackmd.io/@CHAWTeam/DicePy-2_1)

---

{%hackmd Iiu5mOixR7yWkPHKCkabBg %}
<iframe class="LikeCoin" height="235" src="https://button.like.co/in/embed/chawteam/button?referrer=https://hackmd.io/@CHAWTeam/DicePy-2-5" width="100%"></iframe>

---

{%hackmd i1nMRrZcTFmTvoF897K9zg %}