m_row = int(input())
n_row = int(input())
for i in range(m_row):
for j in range(n_row):
print("+", end = " ")
print()
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter