Commit d68eecd5 by BellCodeEditor

auto save

parent 63206c91
Showing with 16 additions and 3 deletions
import random as r
number=r.randint(1,100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)
print(number)
\ No newline at end of file
次数=0
数字=r.randint(1,51)
回答=input("请输入数字")
回答 = int(回答)
while 回答 == 数字:
print("猜中了")
if 回答 > 数字:
print("猜大了")
回答=input("请输入数字")
elif 回答 < 数字:
print("猜小了")
回答=input("请输入数字")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment