No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I'm trying to write a recursive functionthat receives a parameter n and returns the multiple of 5. Example: if we have 5 as the argument, the print out will be : 5 10 15 20 25 My code: def MultiplyRecursive(r): if r == 1: return 5 else: return MultiplyRecursive(r-1) + … |
|
I'm trying to modify a Bibblesort code I'm writing that will count the number of instances and print out a seperate line for each instance and how many occurances it had. def BubbleSortList(MyList): ComparisonCounter = 0 for j in range ( len(MyList)): for i in range ( len(MyList)-1-j ): if … |
|
I NEED HELP! (please and thank you). I have an assignmet for extra points. I'm lost. Out profesor is not explaining anything and the assignments are NOT what we covered so far (which isn't much). I could use any help I can get. I've been trying to google it and … |
|
I need help with my homework. Out professor doesn't explain anything and i'm struggeling. TMy homework is: Write, test and debug a program which asks the user to enter three floating point numbers and then reports the largest and the smallest of these values. Here is the example program dialog: … |
|
I need to write a program as following: Write, test and debug a program to calculate and output the minimum, maximum, and average of a list of positive test scores. Ask the user how many scores s/he intends to enter. Assume exactly that many scores will be entered one per … |