#C14076. Unique Characters Checker
Unique Characters Checker
Unique Characters Checker
You are given a string and your task is to determine whether all the characters in the string are unique. In other words, no character appears more than once.
Mathematically, if we denote the input string as s, the condition for all characters to be unique can be expressed in \( \LaTeX \) as:
\( |s| = |\{ s_i : s_i \in s \}| \)
If the above condition holds, print True
; otherwise, print False
.
inputFormat
The input consists of a single line containing the string s. The string may contain any visible characters including letters, digits, and symbols. Note that the input is read from standard input (stdin).
outputFormat
Output a single line with the value True
if all characters in the string are unique; otherwise, output False
. The result should be printed to standard output (stdout).
World
True