Compare commits
No commits in common. "5546a6d8f9dafb7ad3cc7958a8dca95e9d9a5261" and "9f9c84428c83828235486be2029a37072a3f0611" have entirely different histories.
5546a6d8f9
...
9f9c84428c
|
@ -1,8 +0,0 @@
|
||||||
num_rows = int(input())
|
|
||||||
num_cols = int(input())
|
|
||||||
|
|
||||||
for _i in range(num_rows):
|
|
||||||
print('*', end=' ')
|
|
||||||
for _i in range(num_cols - 1):
|
|
||||||
print('*', end=' ')
|
|
||||||
print()
|
|
|
@ -1,11 +0,0 @@
|
||||||
num_rows = int(input())
|
|
||||||
num_cols = int(input())
|
|
||||||
|
|
||||||
# Note 1: You will need to declare more variables
|
|
||||||
# Note 2: Place end=' ' at the end of your print statement to separate seats by spaces
|
|
||||||
|
|
||||||
for row_num in range(1, num_rows + 1):
|
|
||||||
for col_char in map(chr, range(ord('A'), ord('A') + num_cols)):
|
|
||||||
print('{0}{1}'.format(row_num, col_char), end=' ')
|
|
||||||
|
|
||||||
print()
|
|
Loading…
Reference in New Issue