py = ("程序语言", "python") xx = "i know what it means" for point in py: if input("do you know %s means?" %point) == xx: print("恭喜你已经学会了%s" %point) else: print("请google\"%s\"" %point)
Sign in to make a reply
和尚可以抽烟么
-- coding:utf-8 --
我也写了一个关于Python的入门教程,感觉比廖老师写的更好。下面就是我的教程。
py = ("程序语言", "python") xx = "i know what it means" for point in py: if input("do you know %s means?" %point) == xx: print("恭喜你已经学会了%s" %point) else: print("请google\"%s\"" %point)