给定数字序列[1,2,3,4,5]，编写一个程序使其输出[1,4,9,16,25]
Python代码实现：

```python
num_list = [1, 2, 3, 4, 5]
result_list = []

for num in num_list:
    result_list.append(num ** 2)

print(result_list)
```

输出结果：
```
[1, 4, 9, 16, 25]
```