1275: 方阵图案
Memory Limit:256 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:27
Solved:17
Description
[md]
输入一个正整数n,用字符“M”输出n行n列的方阵图案。
提示: 1.print(x, end = ' ')语句可以输出指定内容,以空格结尾;
2.print()语句不输出任何内容,表示换行。 [/md]
提示: 1.print(x, end = ' ')语句可以输出指定内容,以空格结尾;
2.print()语句不输出任何内容,表示换行。 [/md]
Sample Input Copy
3
Sample Output Copy
M M M
M M M
M M M