Light Mode
Dark Mode
def checkio(line):

def checkio(line): num = len(line.split(' '))
(a,b) = ('are','words') if num > 1 else ('is', 'word')
return 'There %s %s %s in the line'%(a,num,b)

Created: June 14, 2011, 2:14 p.m.
Updated: Sept. 30, 2013, 1:46 p.m.
0
1
User avatar
Elidan