Latest web development tutorials

Python obejmuje ćwiczenia 77

Python 100 Li Python 100 Li

Tytuł: lista wyjściowa Cycle

Program Analysis: Brak.

Kod źródłowy:

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

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

Powyższy przykład wyjście jest:

man
woman
girl
boy
sister

Python 100 Li Python 100 Li