anonymous No title
No License Python
2021年03月30日
Copy Clone
import random
rlist = list()
for i in range(0,1000):
  rlist.append(0)
for i in range(0,10000):
  r=random.randint(1,999)
  rlist[r]+=1
for i in range(1,1000):
  print(rlist[i],end='\t')
  if(i % 10 == 0):
    print()
import random
rlist = list()
for i in range(0,1000):
  rlist.append(0)
for i in range(0,10000):
  r=random.randint(1,999)
  rlist[r]+=1
for i in range(1,1000):
  print(rlist[i],end='\t')
  if(i % 10 == 0):
    print()
No one still commented. Please first comment.
Output