How to repeat character twice

前端 未结 0 1048
盖世英雄少女心
盖世英雄少女心 2021-01-18 02:04

how would I repeat a every character in a string twice?

Ex: hello ---> hheelllloo

This is what I have so far:

  
def main():
    user_string          


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