Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created March 28, 2020 22:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codecademydev/6e3604f2b28e2ece840360d16fb0a558 to your computer and use it in GitHub Desktop.
Save codecademydev/6e3604f2b28e2ece840360d16fb0a558 to your computer and use it in GitHub Desktop.
Codecademy export
def repeat_stuff(stuff, num_repeats = 10):
return stuff * num_repeats
lyrics = repeat_stuff("Row ", 3) + "Your Boat. "
song = repeat_stuff(lyrics);
print(song);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment