Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for I Love Python! by vtflnk
def i_love_python():
essay = "I realy do love coding in Python."
d = dict()
for i, word in enumerate(essay.split()):
d[i] = word.strip('. ')
return '{} {} {}!'.format(d[0], d[3], d[6])
if __name__ == '__main__':
#These "asserts" using only for self-checking and not necessary for auto-testing
assert i_love_python() == "I love Python!"
Dec. 17, 2018
Comments: