Rosalind #5 GC content
Oct. 11th, 2015 02:16 pmSurprisingly difficult for me XD After I wasted a lot of time trying to cleverly read in lines using loops, J had to suggest using split(), although he conceded that it'd be too slow for someone trying to read in gigs and gigs of data (they'd need to cook up something that reads character-by-character). Still, this worked, I'll take it for now.
( Code under cut )
( Code under cut )