Oct-22-2017, 08:44 PM
Yes, I did mistype the semicolon, The instruction is to write a function which asks for a single parameter, in my case a number and it will return a string( for number 1="one") it should handle numbers from 1-10.
After that, i have to use this function in another function what I have made already
def count(numOne, numTwo):
for i in range (numOne,numTwo+1):
print i
print count(2,8)
and the results should be instead of 2,3,4,5,6,7,8, one two three...
After that, i have to use this function in another function what I have made already
def count(numOne, numTwo):
for i in range (numOne,numTwo+1):
print i
print count(2,8)
and the results should be instead of 2,3,4,5,6,7,8, one two three...