Q&A Discussions
I dont really get it
1 Vote
1 AnswerIs this Approach Right?
0 Votes
1 AnswerAlguien puede ayudarme?
1 Vote
2 Answers[Make mutation recursion]
3 Votes
3 Answerswhat is the problem?
0 Votes
3 AnswersReverse string
2 Votes
7 AnswersRunTime Error
1 Vote
3 AnswersI need to design a recursive function called replicate recur which will receive two arguments: times which is the number of times to repeat and data which is the number or string to be repeated.
The function should return an array containing repetitions of the data argument.
For instance, replicate_recur (3, 5) should return [5,5,5].
If the times argument is negative or zero, return an empty array. If the argument is invalid, raise ValueError.
0 Votes
4 Answershow this works
1 Vote
3 AnswersRecursive in Java
0 Votes
1 AnswerFactorial Python
0 Votes
3 Answershow to fix
0 Votes
1 AnswerFinding GCD
0 Votes
1 AnswerPython problem
-1 Vote
1 AnswerHot today
GUI-Based Python code in Webpage
3 Votes
Convert Animated SVG to PNG
1 Votes
My Missing Courses
1 Votes
Are '\0' and NULL the same?
1 Votes
Number addition
0 Votes
cyber security
0 Votes