Data types · 18 / 29 Exercise Easy

Initials

Objective

Create a Python program that reads a first name and a surname and shows their initials in capital letters separated by dots.

Instructions

  • Read the first name and then the surname.
  • Take the first letter of each and convert it to upper case.
  • Show both initials together, each followed by a dot. For example, Ada and Lovelace give A.L.
Input
Ada
Lovelace
Output
A.L.

Open the editor in full screen: the statement on the left and your code, the output and the tests on the right.

Start exercise