企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
``` from random import * matrix ="" for y in range(10): #print(y) line="" line = "{} ".format(randint(0,9)) # for x in range(10): # line += "{} ".format(randint(0,9)) matrix += "{}\n".format(line) print(matrix) print(line) ``` ``` from random import * matrix ="" for y in range(10): matrix +="{}\n".format(randint(0,9)) print(matrix) ``` ``` from random import * matrix ="" for y in range(5): matrix +="{} ".format(randint(0,9)) print(matrix) ``` ``` from random import * matrix ="" for y in range(7): matrix +="{} ".format(randint(0,9)) print(matrix) ``` ``` from random import * matrix ="" for y in range(7): matrix +="{} ".format(randint(0,9)) if(y==7): print(matrix) print(matrix) ```