Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6312f16

Browse files
authored
Update 271-Encode-and-Decode-Strings.py
1 parentf9e8670 commit6312f16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎python/271-Encode-and-Decode-Strings.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ def encode(self, strs):
1111
returnres
1212

1313
"""
14-
@param:str: A string
14+
@param:s: A string
1515
@return: dcodes a single string to a list of strings
1616
"""
1717

18-
defdecode(self,str):
18+
defdecode(self,s):
1919
res,i= [],0
2020

2121
whilei<len(s):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp