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 - 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.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.