Why is this not working? I am doing the review for the second unit in Python 3
Code
def repeat_stuff(stuff, num_reports):
return stuff*num_repeats
repeat_stuff("Row ", 3)
Why is this not working? I am doing the review for the second unit in Python 3
Code
def repeat_stuff(stuff, num_reports):
return stuff*num_repeats
repeat_stuff("Row ", 3)
Should there be a print statement?
It tells me to delete it and replace it with the return statement
What about printing the return value at the caller?
Please post the URL of the exercise.
I figured it out. Its cause I did report instead of repeat for the second parameter. Thank you for trying to help though.
Figured you would see that eventually.