LearnPy Hub
← Modules & the Standard Library problems
Medium

Letters Still Needed

Read the letters you have and a word you want to spell. Using Counter subtraction, print the letters you are missing in alphabetical order (with repeats), or None.

Input

Two lines.

Output

One line.

Sample 1

Input
bna
banana
Output
aan

Sample 2

Input
abc
abc
Output
None
solution.py
Output appears here
Letters Still Needed · Python practice problem · LearnPy Hub