Q&A Discussões
Share Your Web-Art CSS
1 Voto
1 RespostaUI DESIGNER CODING
1 Voto
1 RespostaStudy motion graphics
2 Votos
2 RespostasI 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 Voto
4 RespostasHow to do this?
1 Voto
1 RespostaLoader
0 Voto
1 RespostaQuente hoje
How can one build an Ai app
5 Votes
AI Takeover
2 Votes
Python Developer
0 Votes
Deletion of my Post
0 Votes
Using Python on VScode
0 Votes
Average of Two Numbers
0 Votes
Hearts
0 Votes