Hi!
try:
amm = int(input())
except ValueError:
amm = 0
lines = []
perline = []
if amm > 0:
for i in range (0, amm):
lines.append(int(input()))
perline.append(int(input()))
for i in range(0, amm):
asterisk = True
for j in range(0, lines[i]):
for g in range(0, perline[i]):
if asterisk:
print("*", end="")
asterisk = False
else:
print(".", end="")
asterisk = True
print()
print ()`
this is the code i use to finish the challenge in question title. I get EOF error, while locally i dont get it. Any clues?