#K75322. Unique Characters Check
Unique Characters Check
Unique Characters Check
Determine if all characters in a given string are unique. The check is case sensitive, meaning 'a' and 'A' are considered different characters. Special characters, digits, and whitespace are also taken into account.
If every character in the string appears exactly once, output \( True \); otherwise, output \( False \). The input string is provided via standard input (stdin) and the result must be printed to standard output (stdout).
Note: An empty string is considered to have all unique characters.
inputFormat
The input consists of a single line containing the string. The string may include letters, digits, symbols, and whitespace. It can also be empty.
outputFormat
Output a single line: True
if all characters in the string are unique, otherwise False
.
aabbcc
False