#!/usr/bin/python table = str.maketrans('aeiou', 'AEIOU') a = 'i like an apple'.translate(table) print(a)