10 years ago
0
Be careful with spaces, I had a problem with that ^^
I get up to 5 seconds when I punch in the code. I have everything in the correct format:
example:blah, hello, words, etc
All of the words go into alphabetical order, so yeah, I’m at a loss. I wasn’t sure if I was suppose to put my code in or just submit the answers so I tried both. There is an error in my code but it’s a little thing like every so often of executing it randomly the words will put a random space. It’s a quick fix and I know where it is so I just jump right in and fix it and still have 3 seconds on the clock. I have really fast internet still too….
[quote=level]say, when, get, with, because, been, must, almost, from, will, yet, either, their, might, often, are, least, neither, its, for, how, they, him, this, her, also, off, most, there, but, nor, about, across, where, you, she, who, only, just, able, had, else, rather, which, like, why, have, too, does[/quote]
[quote=My output]
able, about, across, almost, also, are, because, been, but, does, either, else, for, from, get, had, have, her, him, how, its, just, least, like, might, most, must, neither, nor, off, often, only, rather, say, she, their, there, they, this, too, when, where, which, who, why, will, with, yet, you [/quote]
I don’t think this is a spoiler because it’s not giving the answer away. The error output was but , does but I fixed it in a split sec. So idk what :P
I’m not sure, but there might be some sort of filter on the textbox so you fail if you modify anything in it after pasting text in…
Also, as fkpuzat said, are you sure you don’t have some extra spaces (i’m thinking of the end of the list or something)?
The output appears to be fine…
Don’t post answers on the forums!
Search other forums before making new threads called “help” !
Don’t post answers on the forums!
Search other forums before making new threads called “help” !
10 years ago
0
@MaxLockhart : If you have completed this Coding Level 1 then can you please PM me the code that you used to complete it. Thanks in advance.
10 years ago
0
@MaxLockhart : I’ve already completed this level. So I don’t need it to complete the level and if still you can’t provide it then it’s okay.
I am also having trouble with this level.
this is the I/O
[quote=level]they, other, their, could, for, own, does, can, ever, where, let, she, whom, this, able, just, about, have, also, will, any, says, was, all, since, then, these, either, him, said, too, did, off, across, however, may, our, neither, your, only, them, would, into, every, who, because, its, how, cannot, like[/quote]
[quote=My output]able, about, across, all, also, any, because, can, cannot, could, did, does, either, ever, every, for, have, him, how, however, into, its, just, let, like, may, neither, off, only, other, our, own, said, says, she, since, their, them, then, these, this, too, was, where, who, whom, will, would, your[/quote]
I don’t think that there is a problem with spaces,and i use
.sort()
to sort out the words.
The submit button is also clicked with the code,but I still have issues.
If I could pm someone the code,and see what I was doing wrong?
10 years ago
0
@stefanking56 : Check if there is an extra space either at the start or at the end.
@stefanking56 looks like you have the same problem as @MaxLockhart as pointed out by @Fireshard
[quote=Fireshard]first element in the input isn’t sorted with the rest…check and see your flaw… [/quote]
As far as I can remeber @flabbyrabbit there was a random extra space that I added in there by accident.