class Solution:
    def spilt(self, string, c):
        res = []
        now = ""
        for i in string:
            if i == c:
                res.append(now)
                now = ""
            else:
                now +=i
        res.append(now)
        return res

a = 'asdasdasd'
s = Solution()
print(s.spilt(a,'a'))

6c0c6db6a38d01890dfd2220a32d4987ccd280da
class Solution:
    <mask token>


<mask token>

class Solution:

    def spilt(self, string, c):
        res = []
        now = ''
        for i in string:
            if i == c:
                res.append(now)
                now = ''
            else:
                now += i
        res.append(now)
        return res


<mask token>

class Solution:

    def spilt(self, string, c):
        res = []
        now = ''
        for i in string:
            if i == c:
                res.append(now)
                now = ''
            else:
                now += i
        res.append(now)
        return res


<mask token>
print(s.spilt(a, 'a'))

class Solution:

    def spilt(self, string, c):
        res = []
        now = ''
        for i in string:
            if i == c:
                res.append(now)
                now = ''
            else:
                now += i
        res.append(now)
        return res


a = 'asdasdasd'
s = Solution()
print(s.spilt(a, 'a'))

class Solution:
    def spilt(self, string, c):
        res = []
        now = ""
        for i in string:
            if i == c:
                res.append(now)
                now = ""
            else:
                now +=i
        res.append(now)
        return res

a = 'asdasdasd'
s = Solution()
print(s.spilt(a,'a'))
