Q&A Discussions
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
 0 Votes
 5 AnswersI 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 Votes
 4 AnswersHot today
Please recommend me
 0 Votes
Can i code here? Or just learn?
 0 Votes
It's app not running properly?
 1 Votes
Why Lazy?
 1 Votes
Learn tkinter 
 1 Votes
Patterns in Functional Paradigm
 1 Votes



