Latest web development tutorials

Python include esercizi 77

Python 100 Li Python 100 Li

Titolo: elenco di output del ciclo

Analisi del programma: Nessuno.

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]

L'output sopra esempio è:

man
woman
girl
boy
sister

Python 100 Li Python 100 Li