Commit 0dc9d5bc by BellCodeEditor

save project

parent 583a2150
Showing with 21 additions and 6 deletions
j=1
for i in range(1,10):
for j in range(1,i+1):
print(j,"x",i,"=",i*j,end=" ")
print()
import random
x=0
b=random.randint(0,1000000)
for i in range(0,b,2):
x+=i
print(x)
len=random.randint(1,10000)
i=500
while i>0:
x=int(input("猜"))
if x==len:
print("对")
break
if x>len:
print("大")
else:
print("小")
i-=1
print(i)
print(len)
\ 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