Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtisQ&A DiscussƵes
UI 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
What is the bug here??
0 Votes
Help me
1 Votes
Sololearn bug
1 Votes
Does any one know a free app to practice coding, i mean practicing things that you learn from here?
0 Votes
Roblox full version
0 Votes
Help!
1 Votes
Career in cybersecurity
1 Votes