Skip to main content
Commonmark migration
Source Link

#Python, 29

Python, 29

lambda n,s:s+'\n'+' '*~-n+'^' 

Concatenates the string, a newline, n-1 spaces, and a ^.

#Python, 29

lambda n,s:s+'\n'+' '*~-n+'^' 

Concatenates the string, a newline, n-1 spaces, and a ^.

Python, 29

lambda n,s:s+'\n'+' '*~-n+'^' 

Concatenates the string, a newline, n-1 spaces, and a ^.

Source Link
xnor
  • 149.7k
  • 26
  • 287
  • 676

#Python, 29

lambda n,s:s+'\n'+' '*~-n+'^' 

Concatenates the string, a newline, n-1 spaces, and a ^.