成免费的crm,久久国产精品新农夫导航新妓网,恋夜秀场全部视频安卓手机,女校花强奷在线播放A级

Python 練習實例32

python 練習實例32

python 編程100例python 編程100例

題目:按相反的順序輸出列表的值。

程序分析:無。

程序源代碼:

實例:

#!/usr/bin/python
# -*- coding: utf-8 -*-
 
a = ['one', 'two', 'three']
for i in a[::-1]:
    print (i)

以上實例輸出結果為:

three
two
one

python 編程100例python 編程100例

下一節:python 練習實例33

python 編程100例

相關文章