Skip to content

Instantly share code, notes, and snippets.

@unixmonkey
Created August 15, 2013 00:59
Show Gist options
  • Save unixmonkey/6237343 to your computer and use it in GitHub Desktop.
Save unixmonkey/6237343 to your computer and use it in GitHub Desktop.
def problem_4(i);(((i.count('G')+i.count('C')).to_f/i.size)*100).round 4;end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment