|
This is pretty much directly at Whilms, or anyone else who knows Python. He said he still regularly checks the site months ago, and I hope that's the case still.
My college class, Computer Science, has a homework assignment due Tuesday. I'm rock-stupid at coding, even though it's supposedly the easiest language to learn.
My teacher is kind of....not teaching me, and because of that, I lack the knowledge of how to do basic things.
If someone could show me how to do these three problems in basic English, I'd greatly, GREATLY appreciate it.
Problem 1 Define a function that takes three arguments and prints to the screen their average. Show the output of the function call.
Problem 2 Define a function that asks the user to enter two numbers and prints to the screen a message that shows relationship between the two numbers, eg. “x is bigger than y”, where x and y are the two numbers user entered. Show the output of the function call.
Problem 3 Define a function that takes two arguments, a string word and an integer n. The function prints to the screen “Sorry can’t repeat” if n is <=1 or the word repeated n+1 times, otherwise. Show the output of a function call.
_________________
|