Questions about the specifics of strings

Hi guys,

I’m currently stuck at sub exercise 2. which states

Outside of the function, call repeat_stuff .

You can use the value "Row " for stuff and 3 for num_repeats .

what does that translate into python ?

I can’t seem to get it to greenlight it to move to step 3.


Make sure you put the space behind “Row” so that it is "Row ".


Make sure your code is not indented two spaces for this line:

repeat_stuff("Row ", 3)


Hey, thanks for the help!


I’m having a hard time figuring out I am doing wrong here.

Number 5

1 Like

Capitalize B in boat?

I had the same problem, I tried all the code combinations possible, but it didn’t allow me to continue the exercise…

def repeat_stuff(str(stuff), num_repeats):

repeat_stuff(“Row”, 3)

What am I missing? it won’t green light it
I’ve tried using str() in multiple ways to no effect
The solution only gives me the completed exercise, but all I want help with is this task
I’ve tried the space thing, but no effect
Thanks for your help

you just print an empty string:



cant get past section 5

def repeat_stuff(stuff, num_repeats=10):
return stuff*num_repeats

lyrics = repeat_stuff("Row " , 3) + "Your Boat "

i get Expected lyrics to equal "Row Row Row Your Boat. "

Is the trailing whitespace expected?

I want to add in, that the exact wording and spaces in each string are important, and "Row" is not the same as "Row ".