add prefix and postfix to list simultaneously

后端 未结 0 1188
故里飘歌
故里飘歌 2021-01-17 18:02

I was trying to use lambda functions to get a prefix and suffix added to a list of Strings

so far I have this:

def prefix_postfix(my_list,prefix,postfi         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题