ATTITUDE Equals 100%

A -> 1
B -> 2
...
Z -> 26

Attitude
-> 1 + 20 + 20 + 9 + 20 + 21 + 4 + 5 = 100

IN

Hard work

OUT

98

IN

Knowledge

OUT

96

IN

Attitude

OUT

100

IN

JAGC

OUT

21

IN

Just Another Golf Coding

OUT

243

IN

qguyvndbelharjksoxticmzpwf

OUT

351
Login to submit solution


9 symbols pyth
Fri Nov 11 06:31:28 2016 Sait2000
smhxGrdZz
43 symbols ruby
Sun Jun 25 09:17:56 2017 Sait2000
a=gets.upcase.gsub ' ',''
p a.sum-64*a.size
46 symbols ruby
Sat Apr 29 19:14:25 2017 joshlotriet
a=gets.upcase.gsub(' ','')
p a.sum-64*a.length
61 symbols python3
Fri Nov 11 06:44:25 2016 Sait2000
print(sum((64<d<91)*(d-64)for d in map(ord,input().upper())))
62 symbols python3
Tue Jan 10 11:57:52 2017 vockyX
print(sum(ord(a)-64 for a in input().upper().replace(" ","")))
71 symbols python3
Tue Jan 10 11:54:54 2017 vockyX
a=0
for i in input().upper().replace(" ",""):
    a+=ord(i)-64
print(a)
120 symbols python3
Tue Jan 10 11:52:07 2017 vockyX
res=0
for i in input():
    if i.islower():
        res+=ord(i)-96
    if i.isupper():
        res+=ord(i)-64
print(res)

View all solutions