摘要:
#!/user/bin/env python cars = ['audi','bmw','subaru','toyota']for car in cars: if car == 'bmw': print(car.upper()) else: print(car.title()) # == !=# < 阅读全文
posted @ 2018-10-30 22:14
alfred_hong
阅读(110)
评论(0)
推荐(0)
摘要:
magicians = ['alice','david','carolina']for magician in magicians: print(magician) print(magician.title() + ",that was a great trick!") print("I can't 阅读全文
posted @ 2018-10-30 22:13
alfred_hong
阅读(185)
评论(0)
推荐(0)

浙公网安备 33010602011771号