Post History
Vyxal, 4 bytes Ċvt≈ Try it Online! Outputs 1 for true, 0 for false. The footer is to convert the output to the provided test case format. Explained Ċvt≈...
#1: Initial revision
# [Vyxal](https://github.com/Vyxal/Vyxal/tree/version-2), 4 bytes ``` Ċvt≈ ``` [Try it Online!](https://vyxal.pythonanywhere.com/?v=2&c=1#WyJ+IiwiIiwixIp2dOKJiCIsIltgdHJ1ZWB8YGZhbHNlYF0iLCIhKFxcZCspIDogKFxcdyspXG4xIDogdHJ1ZVxuMjIgOiB0cnVlXG45OCA6IHRydWVcbjIyMiA6IHRydWVcbjIzNCA6IHRydWVcbjM0NTYgOiB0cnVlXG4zNDM0IDogdHJ1ZVxuMzM1NSA6IHRydWVcbjQ2NjQgOiB0cnVlXG4xMjM0NTY3ODkgOiB0cnVlXG4yMzQ1Njc4OTAgOiB0cnVlXG4xMTIyMzM0NCA6IHRydWVcbjExMTIyMjMzMyA6IHRydWVcbjEzMjMyMTIxMyA6IHRydWVcbjU0NTU0NDQ1IDogdHJ1ZVxuOTk5OTk5OTk5IDogdHJ1ZVxuNzc4IDogZmFsc2VcbjU2NSA6IGZhbHNlXG4xMjIzIDogZmFsc2VcbjIxMjMgOiBmYWxzZVxuOTk5OTk5OTk4IDogZmFsc2Vcbjk5OTk4OTk5OSA6IGZhbHNlXG4xMTIyMzM0NDUgOiBmYWxzZVxuOTk5OTk5OTkwIDogZmFsc2VcbjEwMTIwMjMwMyA6IGZhbHNlIl0=) Outputs `1` for true, `0` for false. The footer is to convert the output to the provided test case format. ## Explained ``` Ċvt≈ Ċ # [x, input.count(x)] for x in uniquify(input) vt # last item of each item in ^ ≈ # are all items the same? 💎 ``` Created with the help of [Luminespire](https://vyxal.github.io/Luminespire).