Python学习

python中的方法简单使用技巧

pastrami = ["五香牛肉","口水鸭","绝味鸭脖","五香牛肉","红烧猪蹄","夫妻肺片","驴肉火烧"] pass_mike = [] print(pastrami) while...

Python学习

python中使用while 循环

pizz = "\n你可以输入你喜欢的披萨种类也可以输入quit退出" pizz += "\n请输入... :" while True : pizzs = input(pizz) ...

Python学习

python多层嵌套

# /bin/bash python3 a = [1,2,3,4,5] length = len(a) index = 0 while index < length: pr...