14
Diginoid Developer
https://www.facebook.com/joetrex
Last seen 1 year ago
Member for 2 years, 5 months, 5 days
Difficulty Easy
A 40-year-old man - yet still a teenager in the head - that developed a obsessive passion for computers at the young age of 8. The discovery of QBASIC on a Tandy TRS-1000 machine sparked a desire for coding and programming that was never fully satisfied. In college, I was coerced into taking Computer Networking classes due to the high workforce demand. While there were a few classes that included programming curriculum, it wasn't nearly as in depth or involved as I wanted or had hoped.
As a result, I now spend part of my spare time trying to progress, improve, and advance my knowledge and skills in coding on my own - the blind leading ... himself! While Python was undoubtedly the language I found the most "attractive" after sampling 5 or 6 others, I'd like to dabble in some other languages some day. Java or JavaScript seemed like it'd be my next choice after Python.
At any rate, I'm always looking for guidance, advice, or any other type of assistance to help me in this endeavor of self-teaching! Please feel free to message me on via any contact media that's convenient and allow me to assure the acceptance of constructive criticism - outright insults is one thing, attempting to point out flaws or where I could use improvement is another .. *entirely*.
It's the constructive criticism that lends the most knowledge, improvement, and progression ... if the personality is willing and able to hear and accept it! :)
I really should've done like many I've seen do - including this one - and return each variable rather than make **if** statements for all of them. Much shorter and cleaner ... still learning! Thanks to others' posts, I'm learning things I may never have learned on my own!
Thanks for .. well.. being
More
Doesn't this work without the list() around it? like...
return sorted(text_words, key=text.index) == words
It seems to...
More
Struggling to teach myself coding, this task alone pushed me to learn a new module in which I had absolutely NO knowledge, experience, or familiarity. Hard lessons, long struggles when the only teacher you have is a total novice... the passion for coding is _that_ deep.
More
Wow... this has certainly given me strong motivation to learn and become familiar with lambda (along with any/all aspects it may include). Ugh... its going to be ... fun. LOL
More
It may not be the shortest, most simplistic solution, but being a total amateur/novice, this was the first code I tried - which worked - so I feel it _has_ to be easy to follow/derive.
More
Only one correction... wish I'd put "deez" instead of "de" in the code...
.get(deez)
More
I started on a new area on the game map today and was expecting the tasks to be ... I dunno... harder? This was actually far easier than some I've done.
More
At first, I tried to get the exponent using a caret like...
x = array[n] ^ n
That doesn't seem to be the right way... it doesn't work.
More
Since the timestamp form is already in seconds, it made it perfect (and easy) ... just convert and subtract.
More
Another super-easy one... why have they gotten easier as I've progressed further?
More
Okay, this one was a bit more difficult. They're good at throwing in curveballs, like... REALLY good at it. Every task has one.
More
I used too complicated functions at first - thinking I'd need to round off the length of lists with an odd number of data to find the middle - but int() not only suffices, it was necessary since for some strange reason, Python will round 2.5 down to 2 but rounds 5.5 UP to 6... ???
More
Odd that the datetime or time module doesn't have a function to convert 12-hour time to 24-hour ... specifically. There's the **_strftime()_** function, but it doesn't appear to be used in other people's solutions, so I have to assume it doesn't serve this purpose.
Can't believe there's not a func
More
I've solved enough tasks to the point that I now expect to see one-liners as the best/top solutions. While I consider it one of the most valuable aspects about this site in terms of learning, at the same time, sharing my _own_ solution seems inadequate and inferior. BUT... by still posting my code,
More
See... this was the kind of solution I knew had to be possible, but I don't seem to be knowledgeable enough to figure out these type of quick, one liner solutions. Really wish I had the money to take classes... I DID, however, take note of @Jon_Red's comment. I honestly didn't think the dict. part w
More
It's not creative or weird or anything... LOL - Technically needs to be uncategorized in the "nothing special" uhh... category. Just wanted to poke my 'nothing special' head into a different category just once... since my code isn't _completely_ embarrassing on this one :P
Any pointers, guidance,
More
I haven't gone as far as clocking the execution time of _**any**_ code I've ever written... since I don't consider anything I've written a full, entire program - it's all just tiny lil scripts, at best... which has never seemed necessary or even worthy to 'timeit'.
I suppose following "best practic
More
Kind of sloppy code, but I actually only added 1 line of code more than the last 'password' task. I forgot about the damn zeros being False when checked with .isnumeric() - or bool(int()) in other words - so I had to add more code to an already existing line of code... but otherwise, I only added 1
More