interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / bench / solutions / HumanEval_27.om

15 lines · 175 bytes Raw Blame History
1n = long 0
2for i ulong len string
3c = get string i
4if and ge c 97 le c 122
5c = sub c 32
6else
7if and ge c 65 le c 90
8c = add c 32
9end
10end
11put res i c
12n = add n 1
13end
14ret n
15end