Skip to main content
deleted 1 character in body
Source Link
math scat
  • 9.5k
  • 1
  • 20
  • 83

Vyxal , 11 10 bytes

-1 thanks to Neil

ƛkanḟ;∑?LḊ

Try it Online!

Explanation

ƛkanḟ›;∑ƛkanḟ;∑?LḊ
ƛ            Start a mapping lambda for input
 ka          Lowercase alphabet
   n         Current letter
    ḟ        Find letter in the alphabet, return index
      ;       Close mapping lambda
       Sum the list of indices.
        ?L    Get Length of input
    Check if Sum is divisible by the length.

Vyxal , 11 10 bytes

-1 thanks to Neil

ƛkanḟ;∑?LḊ

Try it Online!

Explanation

ƛkanḟ›;∑?LḊ
ƛ            Start a mapping lambda for input
 ka          Lowercase alphabet
   n         Current letter
    ḟ        Find letter in the alphabet, return index
      ;      Close mapping lambda
       ∑     Sum the list of indices.
        ?L   Get Length of input
          Ḋ  Check if Sum is divisible by the length.

Vyxal , 11 10 bytes

-1 thanks to Neil

ƛkanḟ;∑?LḊ

Try it Online!

Explanation

ƛkanḟ;∑?LḊ
ƛ            Start a mapping lambda for input
 ka          Lowercase alphabet
   n         Current letter
    ḟ        Find letter in the alphabet, return index
     ;       Close mapping lambda
      ∑      Sum the list of indices.
       ?L    Get Length of input
         Ḋ   Check if Sum is divisible by the length.
added 42 characters in body
Source Link
math scat
  • 9.5k
  • 1
  • 20
  • 83

Vyxal , 11 bytes11 10 bytes

-1 thanks to Neil

ƛkanḟ›;∑ƛkanḟ;∑?LḊ

Try it Online!

Explanation

ƛkanḟ›;∑?LḊ
ƛ            Start a mapping lambda for input
 ka          Lowercase alphabet
   n         Current letter
    ḟ        Find letter in the alphabet, return index
        Increment by 1, because 0-indexed
      ;      Close mapping lambda
       ∑     Sum the list of indices.
        ?L   Get Length of input
          Ḋ  Check if Sum is divisible by the length.

Try it Online!

Vyxal , 11 bytes

ƛkanḟ›;∑?LḊ

Explanation

ƛkanḟ›;∑?LḊ
ƛ            Start a mapping lambda for input
 ka          Lowercase alphabet
   n         Current letter
    ḟ        Find letter in the alphabet, return index
        Increment by 1, because 0-indexed
      ;      Close mapping lambda
       ∑     Sum the list of indices.
        ?L   Get Length of input
          Ḋ  Check if Sum is divisible by the length.

Try it Online!

Vyxal , 11 10 bytes

-1 thanks to Neil

ƛkanḟ;∑?LḊ

Try it Online!

Explanation

ƛkanḟ›;∑?LḊ
ƛ            Start a mapping lambda for input
 ka          Lowercase alphabet
   n         Current letter
    ḟ        Find letter in the alphabet, return index
      ;      Close mapping lambda
       ∑     Sum the list of indices.
        ?L   Get Length of input
          Ḋ  Check if Sum is divisible by the length.
added 416 characters in body
Source Link
math scat
  • 9.5k
  • 1
  • 20
  • 83

Vyxal , 11 bytes

ƛkanḟ›;∑?LḊ

Explanation

ƛkanḟ›;∑?LḊ
ƛ            Start a mapping lambda for input
 ka          Lowercase alphabet
   n         Current letter
    ḟ        Find letter in the alphabet, return index
     ›       Increment by 1, because 0-indexed
      ;      Close mapping lambda
       ∑     Sum the list of indices.
        ?L   Get Length of input
          Ḋ  Check if Sum is divisible by the length.

Try it Online!

Vyxal , 11 bytes

ƛkanḟ›;∑?LḊ

Try it Online!

Vyxal , 11 bytes

ƛkanḟ›;∑?LḊ

Explanation

ƛkanḟ›;∑?LḊ
ƛ            Start a mapping lambda for input
 ka          Lowercase alphabet
   n         Current letter
    ḟ        Find letter in the alphabet, return index
     ›       Increment by 1, because 0-indexed
      ;      Close mapping lambda
       ∑     Sum the list of indices.
        ?L   Get Length of input
          Ḋ  Check if Sum is divisible by the length.

Try it Online!

Source Link
math scat
  • 9.5k
  • 1
  • 20
  • 83
Loading