Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 656 Bytes

File metadata and controls

30 lines (16 loc) · 656 Bytes

Unit 1 Practice

Exercise 4

Print a famous quote with the following criteria

  • Use only one print()

  • Using escape characters:

    • Place the quote and its author's name on separate lines.

    • Indent the author's name

    • Break the quote up onto multiple lines, if appropriate.

  • Include quotation marks around the quote

    Output:
    "The secret of genius is to carry the spirit of the child into old age, which means never losing your enthusiasm."
    
          - Aldous Huxley
    

Exercise 4 solution