Ad
Code
Diff
  • def get_list(may):
        new_str = ''
        for i in may:
            new_str += i + ' '
        return new_str[:-1]
    • def get_list(may):
    • out=''
    • new_str = ''
    • for i in may:
    • out+=i+' '
    • return out[:-1]
    • new_str += i + ' '
    • return new_str[:-1]