fork download
  1. # your code goes here
  2. n = int(input("Enter a number: "))
  3. for i in range(1,n+1):
  4. for j in range(1,i+1):
  5. print(i,end="")
  6. print("прппр")
Success #stdin #stdout 0.12s 14080KB
stdin
5
stdout
Enter a number: 1прппр
22прппр
333прппр
4444прппр
55555прппр