Skip to main content
Commonmark migration
Source Link

#Jelly, 9 8 7 bytes

Jelly, 9 8 7 bytes

From 8 to 7 thanks to @FryAmTheEggman.

+2X’¤¡€ 

Try it online!

###Explanation

Explanation

+2X’¤¡€ € Map over each argument... 2X Choose a random number from {1,2} ’ Minus 1 ¤ (grammar stuff) ¡ Repeat that number of times... + Add the second input (to the argument being mapped over). 

#Jelly, 9 8 7 bytes

From 8 to 7 thanks to @FryAmTheEggman.

+2X’¤¡€ 

Try it online!

###Explanation

+2X’¤¡€ € Map over each argument... 2X Choose a random number from {1,2} ’ Minus 1 ¤ (grammar stuff) ¡ Repeat that number of times... + Add the second input (to the argument being mapped over). 

Jelly, 9 8 7 bytes

From 8 to 7 thanks to @FryAmTheEggman.

+2X’¤¡€ 

Try it online!

Explanation

+2X’¤¡€ € Map over each argument... 2X Choose a random number from {1,2} ’ Minus 1 ¤ (grammar stuff) ¡ Repeat that number of times... + Add the second input (to the argument being mapped over). 
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Source Link

#Jelly, 9 8 7 bytes

From 8 to 7 thanks to @FryAmTheEggman@FryAmTheEggman.

+2X’¤¡€ 

Try it online!

###Explanation

+2X’¤¡€ € Map over each argument... 2X Choose a random number from {1,2} ’ Minus 1 ¤ (grammar stuff) ¡ Repeat that number of times... + Add the second input (to the argument being mapped over). 

#Jelly, 9 8 7 bytes

From 8 to 7 thanks to @FryAmTheEggman.

+2X’¤¡€ 

Try it online!

###Explanation

+2X’¤¡€ € Map over each argument... 2X Choose a random number from {1,2} ’ Minus 1 ¤ (grammar stuff) ¡ Repeat that number of times... + Add the second input (to the argument being mapped over). 

#Jelly, 9 8 7 bytes

From 8 to 7 thanks to @FryAmTheEggman.

+2X’¤¡€ 

Try it online!

###Explanation

+2X’¤¡€ € Map over each argument... 2X Choose a random number from {1,2} ’ Minus 1 ¤ (grammar stuff) ¡ Repeat that number of times... + Add the second input (to the argument being mapped over). 
added 118 characters in body
Source Link
Leaky Nun
  • 50.6k
  • 6
  • 115
  • 291

#Jelly, 9 8 7 bytes

From 8 to 7 thanks to @FryAmTheEggman.

+2X’¤¡€ 

Try it online!

###Explanation

+2X’¤¡€ € Map over each argument... 2X Choose a random number from {1,2} ’ Minus 1 ¤ (grammar stuff) ¡ Repeat that number of times... + Add the second input (to the argument being mapped over). 

#Jelly, 9 8 7 bytes

From 8 to 7 thanks to @FryAmTheEggman.

+2X’¤¡€ 

Try it online!

#Jelly, 9 8 7 bytes

From 8 to 7 thanks to @FryAmTheEggman.

+2X’¤¡€ 

Try it online!

###Explanation

+2X’¤¡€ € Map over each argument... 2X Choose a random number from {1,2} ’ Minus 1 ¤ (grammar stuff) ¡ Repeat that number of times... + Add the second input (to the argument being mapped over). 
added 118 characters in body
Source Link
Leaky Nun
  • 50.6k
  • 6
  • 115
  • 291
Loading
added 1 character in body
Source Link
Leaky Nun
  • 50.6k
  • 6
  • 115
  • 291
Loading
Source Link
Leaky Nun
  • 50.6k
  • 6
  • 115
  • 291
Loading