You are viewing a single comment's thread. Return to all comments →
Spoiler.
s = raw_input() vowels = 'AEIOU' kevsc = 0 stusc = 0 for i in range(len(s)): if s[i] in vowels: kevsc += (len(s)-i) else: stusc += (len(s)-i) if kevsc > stusc: print "Kevin", kevsc elif kevsc < stusc: print "Stuart", stusc else: print "Draw"
Seems like cookies are disabled on this browser, please enable them to open this website
Day 6: Multiple Linear Regression: Predicting House Prices
You are viewing a single comment's thread. Return to all comments →
Spoiler.