From the course: Python for Health Sciences and Healthcare

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Solution: Repeat string by integer multiplication

Solution: Repeat string by integer multiplication - Python Tutorial

From the course: Python for Health Sciences and Healthcare

Solution: Repeat string by integer multiplication

(upbeat music) - [Instructor] To repeat our string of interest, "Be Cautious in the Lab", by integer multiplication three times. Let's write caution multiplied by three. We can go ahead and run this. Great work. You got the right answer. Be Cautious in the Lab. Be Cautious in the Lab. Be Cautious in the Lab.

Contents