Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtisQ&A DiscussƵes
Study motion graphics
2 Votos
3 RespostasUI DESIGNER CODING
1 Voto
1 RespostaI 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
Comparing code coach solutions
3 Votes
Automatation python
1 Votes
General python
1 Votes
view challenge analytics
2 Votes
Problem with application
0 Votes
Coding
0 Votes
Road Runner!!! āš»šš»
1 Votes
header only implementation
1 Votes