Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Seriously I do solution in Clear category for I Love Python! by pkshiu
def i_love_python():
"""
Let's explain why do we love Python.
"""
languages = {
'Verbose': 'java',
'I prefer root canal': 'Perl',
'Where is the code?': 'PHP',
'Runs where?': 'C#',
'MyEyesAreTiredScanningForSymbols': 'Objective-C',
'expressive and concise': 'Python'
}
seriously = 'I love ' + languages['expressive and concise'] + '!'
return seriously
if __name__ == '__main__':
#These "asserts" using only for self-checking and not necessary for auto-testing
assert i_love_python() == "I love Python!"
Oct. 3, 2016