#C3935. Unique Characters Checker
Unique Characters Checker
Unique Characters Checker
You are given a string composed of printable ASCII characters. Your task is to determine if all characters in the string are unique.
Formally, let ( S ) be a string. You need to check whether every character in ( S ) appears only once. If so, print True
; otherwise, print False
.
For example, if ( S = \texttt{abcdef} ), then the answer is True
; if ( S = \texttt{apple} ), then the answer is False
.
inputFormat
The input consists of a single line containing a string ( S ). The string may include spaces and other printable ASCII characters.
outputFormat
Output a single line: print True
if all characters in the string are unique, and False
otherwise.## sample
abcdef
True