• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu

Q&A Discussions

In a dart game, you hit 5 points once, 10 points 2 times, 20 points 2 times. What is the average number of points you hit per at
102205aattempt?averagedartgamehitinisnumberofonceperpointsthetimestimes.whatyou
-7 Votes
4 Answers
5th Jun 2021, 5:23 PM
Harshith Nalla
Harshith Nalla - avatar
Can anyone help me to code this Write a method 'timesTable()' which accepts an integer value num from the keyboard and uses it to print 'times table' of itself in a structured format. Your output must include a header row. For example, if the user enters 5, your program's output should be: 5 Times Table 1 5 5 2 5 10 3 5 15 4 5 20 5 5 25 6 5 30
java
0 Votes
5 Answers
25th Sep 2016, 11:26 PM
Pharaoh David
Pharaoh David - avatar
I 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.
pythonrecursionstrings
0 Votes
4 Answers
5th Sep 2016, 9:26 PM
Dan-Awoh Emmanuel
Dan-Awoh Emmanuel - avatar
< Previous1...1011Next >
Hot today
What's wrong in my code?
4 Votes
App Development
1 Votes
GUI-Based Python code in Webpage
2 Votes
what languages should I learn to learn python
1 Votes
HTML
1 Votes
Is python better than javascript?
1 Votes
Introduction of html
0 Votes
Web Developer Job?
1 Votes
CSS or Tailwind
1 Votes
Russian
0 Votes