Skip to main content
Commonmark migration
Source Link

#Pyth, 29 bytes

Pyth, 29 bytes

#Pyth, 29 bytes

Pyth, 29 bytes

replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Source Link

This is a direct translation of my CJam answeCJam answer in Pyth

This is a direct translation of my CJam answer in Pyth

This is a direct translation of my CJam answer in Pyth

added 260 characters in body
Source Link
Optimizer
  • 26.6k
  • 7
  • 66
  • 142

Update : a support has been added back in Pyth now so the above 19 byte code will work in the online compiler. But since this is a new feature which was added after the OP, I am not putting it up as my score and letting the 29 byte code as my solution.

Therefore I had to rely on raw Python in that case, making the code to be

Therefore I had to rely on raw Python in that case, making the code to be

Update : a support has been added back in Pyth now so the above 19 byte code will work in the online compiler. But since this is a new feature which was added after the OP, I am not putting it up as my score and letting the 29 byte code as my solution.

Therefore I had to rely on raw Python in that case, making the code to be

Source Link
Optimizer
  • 26.6k
  • 7
  • 66
  • 142
Loading