0

Okay I don't get this problem at all:

```
import random
def chance(number):
number = input
for each in xrange(number):
n = random.randrange(100)+1
return n
def extreme(x):
z = x + 5
y = z - 3
return z, y
#main
repeat = 0
while repeat != 2:
x = input("Enter a value for x: ")
z, y = extreme(x)
print x," + 5 = ",z
print z," - 2 = ",y
n = chance(number)
input = raw_input("How many random numbers do you want?: ")
print n
repeat=input("Do you want to go again? Yes [1] or no [1]: ")
raw_input("Press Enter to exit!")
```

This is copied from the homework website my teacher made (as this is an online Python Course):

Make a course dev worth at least 20 marks which includes:

a function with two positional parameters that returns two values (both integers or real numbers)

a function which generates random numbers and returns them (any amonnt you want)

a function with one parameter, which it gets from a random number generator, that returns two values (strings are returned)

asks if you want to do it again (y or n)

I have no idea how to do the third option, and I had it working before but I must've changed something and I don't know what.