小白有话问
Traceback (most recent call last):File "<pyshell#21>", line 1, in <module>
print ('Hello ' + first_name.capitalize('eugene') + ' ' + last_name.capitalize('wang'))
TypeError: str.capitalize() takes no arguments (1 given)
这是啥意思嗷 str.capitalize() takes no arguments (1 given)
capitalize()方法接收0个参数,但是你给了一个
页:
[1]