Write a programExercise 1/4Basic10 XP

Are they all different?

Task

The input is a line of whole numbers separated by spaces. The program prints áno (yes) if all the numbers are different, otherwise nie (no).

Comparing the length of the list with the length of a set of the same numbers helps.

Examples

  • Input

    1 2 3

    Expected output

    áno
  • Input

    1 2 1

    Expected output

    nie

After you submit, 4 hidden tests will also check your solution: one number, two equal, a number and its opposite, a repeat at the end.

Python starts the first time you run code.

Ctrl+Enter runs the program. Tab indents. Press Esc, then Tab, to leave the editor.

Input (stdin)

Each line = one call to input().

Output

Hints

Try it yourself first. Each hint reveals a little more - and lowers the reward a little.

Signed out, hints are free - but no XP is awarded either.

Solution

The solution unlocks after the last hint.