Hello, I’m working on some practice exercises from my homework and I’m having 
some issues figuring out what is wanted.  

We’re working with the while loop and this is what the question states;

Write a function print_n that prints a string n times using iteration.

        """Print the string `s`, `n` times. 


This is also in the exercises and I’m not sure what it means and why it’s there.

assert isinstance(s, str)
assert isinstance(n, int)


Any help is greatly appreciated!

Scott
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to