Back

Generate a solid rectangle using stars. 

Created 3 years ago
200 Views
3 Comments
Ankita0iMYXb
@Ankita0iMYXb
Ankita0iMYXb
@Ankita0iMYXbProfile is locked. Login

rows,columns= map(int,input().split())

for i in range(0,rows):

for j in range(0,columns):

print("*",end=' ')

print()

The actual and expected output are matching but its still showing an error

Testcase Status:
>>> error
Input:
3 5
Expected Output:
* * * * *
* * * * *
* * * * *
Actual Output:
* * * * * 
* * * * * 
* * * * * 
Execution Time:
>>> 0.021s
Memory Used:
>>> 3216k
Comments (3)
Please login to comment.