init and a1

This commit is contained in:
0x01FE committed 2025-01-28 15:20:04 -06:00
commit 32b04527ab
10 files changed
+195

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
def main():
lines: list[str] = []
t = int(input())
while (t != 0):
lines.append(input())
t -= 1
for line in lines:
h, w = [int(n) for n in line.split()]
for y in range(h):
print('*' * ((w * 3) + 1))
row = '*..' * w + '*'
print(row)
print(row)
print('*' * ((w * 3) + 1))
print()
if __name__ == "__main__":
main()