天天看点

初探Python_01

print("============Python学习============")
temp = input("猜测心中所想数字:")
guess = int(temp)
if guess == 8:
    print("恭喜你,猜对了!!!")
else:
    print("猜错了!!!")
print("游戏结束")


print("========华丽分割线========")

# 知识点:

# 查看python中有哪些内置函数
print(dir(__builtins__))

print("======分割线======")
# 查看每个内置函数的含义和用法
print(help(input))