• ###### russelljjadamscommented on "Take a Ten Minutes Walk" python solution

Lol. It looks like you're trying to program in C.

• ###### russelljjadamscommented on "Take a Ten Minutes Walk" python solution

Yeah, that does make sense. I try to solve these in the least amount of effort though. I can't be bothered to import a module.

• ###### russelljjadamscommented on "Complete The Pattern #2" python solution

Haha, I want you to know, this made my day!

• ###### russelljjadamscommented on "Product of consecutive Fib numbers" python solution

Woa, nice observation sir!

Thanks Dan!

• ###### russelljjadamscommented on "Delete Nth element" python solution

I really should start using lambda's more, as it stands now I typically just use them in functions like:

``````sorted(x,key=lambda x:len(x))
``````

It seems to me that's the most appropriate use for them.

• ###### russelljjadamscommented on "Your Ride Is Here" kata

Approved. Thank you!

• ###### russelljjadamscommented on "Delete Nth element" python solution

I did do it with one list comprehension ;). But, the funny thing is, when I first did it, I did the same thing you did and used a dictionary to keep track of the sums. But before I submitted I thought to myself about when you said something about me not using list comprehension, I couldn't let that happen again! Lol

And no, I don't mind at all. I'm trying to do as much as I can, I was in school at KU and was hoping to get a CS degree to be able to work in this field, but, we ended up finding out my Mom was terminally ill with colon cancer. I decided to drop out and spend that year with her before she passed. Now, it seems almost impossible for me to get back into school with the unpaid federal school loans I have. So, I'm trying to do everything I can to acquire new skills and attempt to get my name out there so maybe one day I can get a job.

• ###### russelljjadamscommented on "Delete Nth element" kata

I agree with GiacomoSorbi, I had to read the discourse just to figure out what exactly I was supposed to do. Granted, I didn't spend much time thinking about it, it's just it was worded confusingly.

I think you'll find it much better from your own perspective, too, if you make it as simple as possible as more people will upvote it. Which means more honor for you!

• ###### russelljjadamscommented on "Delete Nth element" python solution

No list comprehension! Blasphemy!

• ###### russelljjadamscommented on "Your Ride Is Here" kata

It's been approved, thank you for the contribution sir.

• ###### russelljjadamscommented on "Your Ride Is Here" kata

Translation approved. Thank you.

• ###### russelljjadamscommented on "Calculating Expected Utility" kata

I know, I know. My argument is that it was really late when I started writing this kata, idk what I was thinking!

• ###### russelljjadamscommented on "Calculating Expected Utility" kata

You know, I go through weird phases where `camel_case` feels right, and other times when it just looks ugly. But you're right, to be more Pythonic it should be `expected_utility`. And it would be helpful if you were to help add some tests. I wrote it rather late last night and I planned to go back through and add some more tests.

• ###### russelljjadamscommented on "Multi-tap Keypad Text Entry on an Old Mobile Phone" kata

I'm getting an error on the Python version, as soon as it switches to random test cases an error is thrown and none of my code is running.

"NameError: name 'keys' is not defined"