知识点
- #为注释
- 注意缩进
- 不需要分号进行断句
#大数运算
print(12345678910111213*987654321011)
#乘法运算
print("python从入门到入土\n"*3)
#p2_1.py
"""---第一个小游戏---"""
temp=input("猜数字:")
guess=int(temp)
if guess == 8:
print("Yes")
print("You are right")
else:
print("No")
print("game over")
标签:guess,入门,temp,python,第一章,---,print
From: https://www.cnblogs.com/Vivian-0918/p/16990241.html