Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Creative category for I Love Python! by Pumba_UA
LANGUAGES = ['Java', 'C++', 'Asm', 'C', 'C#', 'JavaScript', 'PHP', 'VHDL',
'Verilog', 'Python']
def i_love_python():
print('There are a lot of good languages: ', ', '.join(LANGUAGES))
return 'I love ' + LANGUAGES[len(LANGUAGES) - 1] + '!'
if __name__ == '__main__':
#These "asserts" using only for self-checking and not necessary for auto-testing
assert i_love_python() == "I love Python!"
July 20, 2015
Comments: