pyhowto icon indicating copy to clipboard operation
pyhowto copied to clipboard

How to use python from basic to improvement

Results 2 pyhowto issues
Sort by recently updated
recently updated
newest added

@property 使得该方法变成了 arg 属性的 getter 方法,名称需要一致

以下为原书内容: ```python str0 = "ABC" tuple0 = ("a", "b", "c") list0 = ["1", "2", "3"] print("--".join(str0)) print("--".join(tuple0)) print("--".join(list0)) print("".join(list0)) >>> a--b--c 1--2--3 A--B--C ABC ``` 其中打印结果错误,应为: ```python >>> A--B--C a--b--c...