LearnPy Hub
← Comprehensions problems
Easy

First Letters

Read words and print a string made of their first letters, using a comprehension inside ''.join().

Input

Words separated by spaces.

Output

One word.

Sample 1

Input
portable network graphics
Output
png

Sample 2

Input
hello
Output
h
solution.py
Output appears here
First Letters · Python practice problem · LearnPy Hub