Ask Question
31 October, 01:48

Write a method called doubleit that accepts a string parameter and returns that string concatenated with itself. for example, if the parameter is "program", the return value would be "programprogram".

+2
Answers (1)
  1. 31 October, 02:10
    0
    Def doubleit (string)

    return (string + string)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Write a method called doubleit that accepts a string parameter and returns that string concatenated with itself. for example, if the ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers