Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 1.66 KB

File metadata and controls

9 lines (5 loc) · 1.66 KB

The print function

These exercises do not need to be completed in order, but they are generally ordered in increasing difficulty. The solutions provided are not the only possible solution. Your's might look different, and that is okay!

  1. Using the print() function, print at least four lines of your favorite poem or song lyrics. Do this on multiple lines. Exercise link. Solution link.

  2. Given three strings stored as variables, print the strings separated by a space. Then print the strings separated by commas. Exercise link. Solution link.

  3. Using the time module's sleep() function, print the string 'Waiting five seconds ...', then wait five seconds and print 'done waiting.' on the same line of output. Exercise link. Solution link.