Unit 2 Review Problem

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.

https://www.codecademy.com/courses/learn-python-3/lessons/intro-to-functions/exercises/review?action=resume_content_item

I figured it out. Its cause I did report instead of repeat for the second parameter. Thank you for trying to help though.

1 Like

Figured you would see that eventually.