Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

Commonmark migration
Source Link

##Canvas , (削除) 4 (削除ここまで) 3 bytes ]∑

Canvas , (削除) 4 (削除ここまで) 3 bytes

 ]∑

Try it here!

####Explanation: Push input to stack (implicit) For each character in the input: (implicit) Push the character to the stack (implicit) Push " " to the stack ] Collapse results from loop into an array ∑ Join the array into a single string Print the ToS (implicit)

Explanation:

 Push input to stack (implicit)
 For each character in the input: (implicit)
 Push the character to the stack (implicit)
 Push " " to the stack
] Collapse results from loop into an array
∑ Join the array into a single string
 Print the ToS (implicit)

-1 byte thanks to dzaima!

##Canvas , (削除) 4 (削除ここまで) 3 bytes ]∑

Try it here!

####Explanation: Push input to stack (implicit) For each character in the input: (implicit) Push the character to the stack (implicit) Push " " to the stack ] Collapse results from loop into an array ∑ Join the array into a single string Print the ToS (implicit)

-1 byte thanks to dzaima!

Canvas , (削除) 4 (削除ここまで) 3 bytes

 ]∑

Try it here!

Explanation:

 Push input to stack (implicit)
 For each character in the input: (implicit)
 Push the character to the stack (implicit)
 Push " " to the stack
] Collapse results from loop into an array
∑ Join the array into a single string
 Print the ToS (implicit)

-1 byte thanks to dzaima!

added 110 characters in body
Source Link
hakr14
  • 5.5k
  • 1
  • 14
  • 19

##Canvas, 4 (削除) 4 (削除ここまで) 3 bytes { ]∑]∑

Try it here!

Explanation####Explanation: Push input to stack (implicit) For each character in the input: (implicit) Push the character to the stack (implicit) Push " " to the stack ] Collapse results from loop into an array ∑ Join the array into a single string Print the ToS (implicit)

 Push input to stack (implicit)
{ For each character in the input:
 Push the character to the stack (implicit)
 Push " " to the stack
] Collapse results from loop into an array
∑ Join the array into a single string
 Print the ToS (implicit)

-1 byte thanks to dzaima !

##Canvas, 4 bytes { ]∑

Try it here!

Explanation:

 Push input to stack (implicit)
{ For each character in the input:
 Push the character to the stack (implicit)
 Push " " to the stack
] Collapse results from loop into an array
∑ Join the array into a single string
 Print the ToS (implicit)

##Canvas, (削除) 4 (削除ここまで) 3 bytes ]∑

Try it here!

####Explanation: Push input to stack (implicit) For each character in the input: (implicit) Push the character to the stack (implicit) Push " " to the stack ] Collapse results from loop into an array ∑ Join the array into a single string Print the ToS (implicit)

-1 byte thanks to dzaima !

Source Link
hakr14
  • 5.5k
  • 1
  • 14
  • 19

##Canvas, 4 bytes { ]∑

Try it here!

Explanation:

 Push input to stack (implicit)
{ For each character in the input:
 Push the character to the stack (implicit)
 Push " " to the stack
] Collapse results from loop into an array
∑ Join the array into a single string
 Print the ToS (implicit)

AltStyle によって変換されたページ (->オリジナル) /