Commit 7ab1d2b3 by bonnieyan

提交第四次作业

parent d627e4bf
#z字形变换
#z字形变换--
'''
L C I R
E T O E S I I G
E D H N
'''
def convert(s, numRows):
......@@ -22,4 +21,4 @@ def convert(s, numRows):
return ''.join(rows)
print(convert("LEETCODEISHIRING",4))
print(convert("LEETCODEISHIRING",3))
\ No newline at end of file
# print(convert("LEETCODEISHIRING",3))
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment