striped Rectangle...input (m = 5) (n =7)
+++++++
- - - - - - -
m = int(input()) n = int(input()) text = '+'*n text1 = '-'*n for i in range(m): if i%2==0: print(text) else: print(text1)
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment