Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Python 20171115 Learning record

Shulou Source: shulou.com Published: 2022-06-03 08:01:25 10月02日 Update

Traverse the list

Def travel (string):

Index = 0

While index < len (string):

Letter = string [index]

Print letter

Index = index + 1

A = "12ww1wwwwww"

Print travel (a)

Bogon:hhhhh zhouhaijun$ python py_02.py

one

two

W

W

one

W

W

W

W

W

W

Tags: Study Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Linux Huawei Shulou Information Xiaomi