luyantl 发表于 2018-9-30 21:32:13

python0930

class magA():
    mags=["alice","david","carolina","tang","python"]
    for mag in mags:
      print(mag.title()+"         that was a great trick!")
    print("\n"+"over")
    mags.reverse()
    print(mags)
    print("\t"+mags)

   
页: [1]
查看完整版本: python0930