add #5 python implement
This commit is contained in:
parent
1ac3cb20a0
commit
3533f7a40c
@ -323,10 +323,18 @@ public String replaceSpace(StringBuffer str) {
|
||||
}
|
||||
```
|
||||
|
||||
```python
|
||||
target = input()
|
||||
|
||||
print (target.replace(" ", "%20"))
|
||||
```
|
||||
|
||||
```python
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
# 参考文献
|
||||
|
||||
- 何海涛. 剑指 Offer[M]. 电子工业出版社, 2012.
|
||||
|
Loading…
x
Reference in New Issue
Block a user