Commit 4beee703 by BellCodeEditor

auto save

parent b44d5262
Showing with 12 additions and 0 deletions
import random
rand=random.randint(0,100)
while True:
plays=int(input())
if plays==rand:
print("猜对了")
break
elif plays<rand:
print("猜小了")
else:
print("猜大了")
\ 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