Exercise 1.12 - Functions and loopsΒΆ

  1. Make a function to create a celebrity couple name/combined name. The function takes 2 names as input and returns a combined name which is comprised of the first 3 letters of name 1 and the last 3 letters of name 2.

  2. Create a loop where you can feed in a list of name pairs to generate several.


Back to top