Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobierenF&A Diskussionen
Largest prime factor
7 Stimmen
5 AntwortenModulo operator
0 Stimmen
1 AntwortRemainder of numbers in python
3 Stimmen
10 AntwortenHow to make this code with python
0 Stimmen
7 AntwortenI can not figure this out. Write a program using an array to prompt for 10 grades and add them all up and divide by 10 to find the average. If a user inputs a negative number, add up all the numbers that are not negative and divide it by the amount of numbers that are not negative. Using two functions other than main.
1 Stimme
4 Antwortenmodule 4 css
-2 Stimmen
7 AntwortenI 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 Stimmen
4 AntwortenHeute heiß
Roblox full version
1 Votes
Html code
1 Votes
Help with c++ code
1 Votes
Dynamic library lib file
0 Votes
Ai and coding !!?
2 Votes
I'm stuck in a lesson
0 Votes