print ("number of rows")
rows = int(input())
print ("number of columns")
col = int(input())
for noofrows in range(0,rows,1):
print(":)")
for noofcol in range(0,col,1):
print(":)",end="")
:)
:):):):)
:):):):)
:):):)
this is the output i get
当我做3乘3的时候,它会给我一张由1、4、4、3张笑脸组成的列表
有些
print
是不正确的Python 2中的等效代码将
row
作为3,将col
作为3个输出相关问题 更多 >
编程相关推荐