Discuss / Python / 作业

作业

Topic source

无名

#1 Created at ... [Delete] [Delete and Lock User]

def trim(S):

    t=''

    for i in range(len(S)):

        if S[i]!=' ':

            t=t+S[i]

    return t


  • 1

Reply