Python入门实战:Round 1

2026-04-04 03:50:07

哈,这个系列是跟小伙伴一起组织的Python兴趣小组的习题,每一期内容会包括三个部分:题目、小伙伴答案和全球开发者答案。话不多说,Show you the code ~

工具/原料

题目来源:Codewars

Python 2.7

Round 1# Double Char

Given a string, you have to return a string in which each character

 (case-sensitive) is repeated once.Local answers

    来看几个小伙伴的答案。Global answers

      这里把全球开发者的答案放出来,完整的文档也放在文末供下载。注意事项

        代码下载:https://pan.baidu.com/s/1qZOzLNm

猜你喜欢