摘要:
#!/user/bin/env python cars = ['audi','bmw','subaru','toyota']for car in cars: if car == 'bmw': print(car.upper()) else: print(car.title()) # == !=# < 阅读全文
摘要:
magicians = ['alice','david','carolina']for magician in magicians: print(magician) print(magician.title() + ",that was a great trick!") print("I can't 阅读全文