4 added 65 characters in body

# Python 3 - 109107107 93

i=input;n,s,a=int(i()),i(),''[]
while s:a+=''.join(''a+=[''.join(c*n for c in s)+'\n' for x in' '*n);s=i]*n;s=i()
print('\n'.join(a))


First, input the number, then the string. Should be self-explanatory...

Thanks to Waleed Khan for suggesting removing the []

Thanks to Waleed KhanVolatility for suggesting removing thehaving []a be a list.

# Python 3 - 109107

i=input;n,s,a=int(i()),i(),''
while s:a+=''.join(''.join(c*n for c in s)+'\n' for x in' '*n);s=i()
print(a)


First, input the number, then the string. Should be self-explanatory...

Thanks to Waleed Khan for suggesting removing the []

# Python 3 - 109107 93

i=input;n,s,a=int(i()),i(),[]
while s:a+=[''.join(c*n for c in s)]*n;s=i()
print('\n'.join(a))


First, input the number, then the string. Should be self-explanatory...

Thanks to Waleed Khan for suggesting removing the []

Thanks to Volatility for suggesting having a be a list.

3 added 65 characters in body

# Python 3 - 111109 107

i=input;n,s,a=int(i()),i(),''
while s:a+=''.join([''''.join([c*nc*n for c in s]s)+'\n' for x in' '*n]'*n);s=i()
print(a)


First, input the number, then the string. Should be self-explanatory...

Thanks to Waleed Khan for suggesting removing the []

# Python 3 - 111

i=input;n,s,a=int(i()),i(),''
while s:a+=''.join([''.join([c*n for c in s])+'\n' for x in' '*n]);s=i()
print(a)


First, input the number, then the string. Should be self-explanatory...

# Python 3 - 109 107

i=input;n,s,a=int(i()),i(),''
while s:a+=''.join(''.join(c*n for c in s)+'\n' for x in' '*n);s=i()
print(a)


First, input the number, then the string. Should be self-explanatory...

Thanks to Waleed Khan for suggesting removing the []

2 edited body

# Python 3 - 109111

i=input;n,s,a=int(i()),i(),''
while s:a+=''.join([''.join([c*n for c in s])+'\n' for x in' '*n]);s=i()
print(a)


First, input the number, then the string. Should be self-explanatory...

# Python 3 - 109

i=input;n,s,a=int(i()),i(),''
while s:a+=''.join([''.join([c*n for c in s])+'\n' for x in' '*n]);s=i()
print(a)


First, input the number, then the string. Should be self-explanatory...

# Python 3 - 111

i=input;n,s,a=int(i()),i(),''
while s:a+=''.join([''.join([c*n for c in s])+'\n' for x in' '*n]);s=i()
print(a)


First, input the number, then the string. Should be self-explanatory...

1