Py学习  »  Python

这里的菜鸟。。。需要Python代码总结方面的帮助吗

Grade-a-j • 3 年前 • 1282 次点击  

“你好,[名字]!”或者“你好!” 根据输入

def say_hello(name):
    name = "Hello there!"

    assert name != "Hello there!"
    # You can print to STDOUT for debugging like you normally would
    print(name)

    # but you need to return the value in order to complete the challenge  
    return "" # TODO: return the correct value

我之前已经完成了类似的练习测试,但我只是在这里画一个空白。 我们将非常感谢您对正确代码的任何帮助,以及您是如何获得这些代码的。

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/133605
文章 [ 2 ]  |  最新文章 3 年前