Latest web development tutorials

Pythonは演習74と、

Pythonの100リー Pythonの100リー

タイトル:2つのリストを接続します。

プログラム解析:なし。

ソースコード:

#!/usr/bin/python
# -*- coding: UTF-8 -*-

if __name__ == '__main__':
    arr1 = (3,12,8,9,11)
    ptr = list(arr1)
    print ptr
    ptr.sort()
    print ptr
[3, 12, 8, 9, 11]
[3, 8, 9, 11, 12]

Pythonの100リー Pythonの100リー