Answer to Question #268984 in Python for Raju

Question #268984

Pattern


Input

The first line input contains an Integer(N).


Explanation


Given N = 2 and T = 3

The first line having N spaces

and the last line having no spaces.


sample Input 1

2 2

sample Output 1

**

**


Sample Input 2

2 3

sample Output 2

**

**

**


1
Expert's answer
2021-11-20T06:45:35-0500
x=input()
N,T=x.split(" ")
N=int(N)
T=int(T)
for i in range(T):
    for j in range(N):
        print("*",end="")
    print()

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS