fork download
  1. # your code goes here
  2. n=int(input())
  3. for i in range(n,0,-1):
  4. print("".join(['Smile!' for j in range(i)]))
Success #stdin #stdout 0.03s 9984KB
stdin
3
stdout
Smile!Smile!Smile!
Smile!Smile!
Smile!