Initial commit
Test (in pplus-core) / in-core (push) Failing after 28m44s

This commit is contained in:
alexm committed 2026-11-12 22:23:48 -05:00
commit 568474d52f
1591 files changed
+528213

No files matched your search

@@ -0,0 +1,7 @@
def gc_content(s: String) -> Float64:
var count = 0
for i in range(s.count_codepoints()):
var c = String(s[codepoint=i])
if c == "G" or c == "C":
count = count + 1
return Float64(count) / Float64(s.count_codepoints())
@@ -0,0 +1,6 @@
def gc_content(s):
count = 0
for c in s:
if c == "G" or c == "C":
count += 1
return count / len(s)