#K72152. Unique Characters Check
Unique Characters Check
Unique Characters Check
You are given a string s
and your task is to determine whether all characters in the string are unique. The check is case-sensitive, meaning that, for example, 'a'
and 'A'
are considered as two different characters.
Your program should read the input from stdin
and output the result to stdout
as either True
or False
. In case the string is empty, output True
since there are no duplicate characters.
Note: Please implement the solution so that it passes all the test cases provided.
inputFormat
A single line string s is provided via stdin. The string can contain any printable characters and is case-sensitive.
outputFormat
Output a single line: 'True' if all characters in the string are unique; otherwise, output 'False'.## sample
abcdef
True