Which fix removes the bug?
def repeat(text, times):
return text * time
- Change
timetotimes - Change
*to+ - Wrap with
str() - Swap the parameters
The parameter is
Play Problem Solving ▸
times; time is not defined.