标签:ima pytho anim dog for 令行 animal 冒号 for循环
animals = [‘pig‘,‘dog‘,‘cat‘]
for animal in animals:
print(‘A ‘ + animal + "would make a great pet")
print(‘Any of these animals would make a great pet!‘)
标签:ima pytho anim dog for 令行 animal 冒号 for循环
原文地址:https://www.cnblogs.com/yhzhao1/p/13321648.html