Worked a little on Exercism today. One of the problems I was working on required the use of factoring a number to find all of the divisors (eg: 4 can be divided by 4, 2, and 1). It's a recursive solution but I didn't know offhand how to write it …
read moreDay 68/100: Reading / Exercism
Did a quick play around with Exercism and some reading.
Here's my solution for RNA Transcription in Python:
read moredef to_rna(dna): dna_rna_trans = {'G': 'C', 'C': 'G', 'T': 'A', 'A': 'U'} rna_strand = [] dna_list = list(dna) for dna_nucleotide in dna_list: if dna_nucleotide not in dna_rna_trans: return '' else: rna_strand.append(dna_rna_trans[dna_nucleotide]) return …
Day 68/100: Off my game / Reading
Today I was pretty well off my game. Did a lot of administrative work for MUG and what-not, but didn't get to doing much programming. Hoping to rectify this tomorrow (before the MUG meeting. :) )
Did a little reading here and there. Did a little reading of the Guile Manual. Still …
read moreDay 67/100: ...
Day 66/100: Just some reading
Did some more reading, but not a whole lot else.
read more