class Solution:

    def replaceSpace(self, s: str) ->str:
        ret = ''
        for c in s:
            ret += '%20' if c is ' ' else c
        return ret

863f8e5eee19062777d422091f07848091aff58a
<mask token>

class Solution:
    <mask token>

class Solution:

    def replaceSpace(self, s: str) ->str:
        ret = ''
        for c in s:
            ret += '%20' if c is ' ' else c
        return ret
