7
5
Using the word “conemon” print each character 2 times more than the last. The first letter, “c”, should be printed 10 times, the second 12 and so on. Each repeated-letter-string should be printed on a new line.
So the end-result becomes:
cccccccccc
oooooooooooo
nnnnnnnnnnnnnn
eeeeeeeeeeeeeeee
mmmmmmmmmmmmmmmmmm
oooooooooooooooooooo
nnnnnnnnnnnnnnnnnnnnnn
Cccccccccc Oooooooooooo Nnnnnnnnnnnnnn And so on the solution should be displaced like that. There should be new line after every character is printed n times – Monolica – 7 years ago
2Welcome to PPCG! I have update the challenge text to reflect your comment above (specifications should be in the post not in the comments). I also fixed up the grammar a little. Feel free to edit it more. – Jonathan Allan – 7 years ago
The less characters the better. – Monolica – 7 years ago
What is the smallest number of characters that could be used to solve this problem using python? – Monolica – 7 years ago
7Don't know if this is of use for anyone, but
conemonisrot10(seduced). – user2390246 – 7 years agoAre white spaces allowed before or after a string? – mazzy – 7 years ago
Is it acceptable to return the list of lines, or do we need to output as a string? – None – 7 years ago
Can we output it capitalised i.e.
CONEMON– Jo King – 7 years agoIs it allow the follow output: ccccccccccoooooooooooonnnnnnnnnnnnnneeeeeeeeeeeeeeeemmmmmmmmmmmmmmmmmmoooooooooooooooooooonnnnnnnnnnnnnnnnnnnnnn
? – RosLuP – 7 years ago
@RosLuP The spec is clear; it's not allowed. – Erik the Outgolfer – 7 years ago