Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a complete python program which allows a user to input a string of up to 1

ID: 3697132 • Letter: W

Question

Write a complete python program which allows a user to input a string of up to 15 lower case letters. The program then prints one line of brattle characters which match the string. It must print them all on one line. For example an input of python would output:

Explanation / Answer

>>> print s >>> s 'Километр' >>> s.decode('utf-8') u'u041au0438u043bu043eu043cu0435u0442u0440' >>> s.decode('utf-8').lower() u'u043au0438u043bu043eu043cu0435u0442u0440' >>> s.decode('utf-8').lower().encode('utf-8') 'километр' >>> print s.decode('utf-8').lower().encode('utf-8')