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 sawako.oono
def i_love_python():
"""
I love intuitive fstring available after Python3.6
"""
mybest ="Python"
return f"I love {mybest}!"
if __name__ == '__main__':
#These "asserts" using only for self-checking and not necessary for auto-testing
assert i_love_python() == "I love Python!"
May 27, 2021
Comments: