Latest web development tutorials

Python inclui exercícios 77

Python 100 Li Python 100 Li

Título: lista de saída Ciclo

Análise do Programa: Nenhum.

Source Code:

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

if __name__ == '__main__':
    s = ["man","woman","girl","boy","sister"]
    for i in range(len(s)):
        print s[i]

O exemplo acima saída é:

man
woman
girl
boy
sister

Python 100 Li Python 100 Li