String to list then square and back to string (Python)

后端 未结 0 2022
借酒劲吻你
借酒劲吻你 2021-01-05 08:25

How can I solve this assignment:

Given string in form "3,9,13,4,42" convert to list and for each element calculate his square. Then join that squares to str

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