Text processing · 6 / 14 Exercise Easy

Acronym

Objective

Create a Python program that forms the acronym of a sentence with the first letter of each word.

Instructions

  • Read a sentence with words separated by spaces.
  • Take the first letter of each word, in upper case.
  • Show the letters joined together, without spaces (you can use "".join(...)).
Input
Portable Network Graphics
Output
PNG

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

Start exercise