← Back to List

11944번: NN ↗

Solutions

Python 3
70 B | 70 chars
N,M=list(map(int,input().split()))
a=str(N)*N
print(a[:min(len(a),M)])