Skip to main content
deleted 911 characters in body
Source Link
Dennis
  • 210.6k
  • 41
  • 370
  • 825

Jelly, 64 60 5858 57 bytes

“¡ŀṪ]ṃ{yṁ“Ñ3$ṘW5Ḍż⁸¢Hŀ“ÑɲʋØƥþƈƘ}»;“.¶“A“If“yṁ“Ñ3$ṘW5Ḍż⁸¢Hŀ»j⁾ a”“ṚøTøṖ’ṃFḊ”?

Try it online!

How it works (outdated)

“ɱDœɓẆ'ṫ“Ñ3$ṘW5Ḍż⁸¢Hŀ“ÑɲʋØƥþƈƘa,Ṛẋ2ż“³ḌM“¡FỊİg“ÑɲʋØƥþƈƘ}»

The strings ɱDœɓẆ'ṫ, Ñ3$ṘW5Ḍż⁸¢Hŀ, and ÑɲʋØƥþƈƘ} use Jelly's inbuilt dictionary to encode ["Peter Piper picked", " peck of pickled peppers", ",\nWhere's the"].

                                 “.¶“A“ “If “»FḊ”?“ a”

This literal yields the string array [".\n", "A ", "If ", "?", " a"].

                                                  “EiƓ[ẹiV’

This bijective base-250 literal yields 1719393895096408710, which is 1024526147102326189.

                                ;                          ṃ

Concatenate the string arrays to the left (yielding an array of 9 strings), then use the base-9 digits of the integer to the right to select strings from the array.

Indexing is 1-based and modular, so digits 1 and 0 correspond to the first and last string, respectively.Try it online!

Jelly, 64 60 58 bytes

“¡ŀṪ]ṃ{yṁ“Ñ3$ṘW5Ḍż⁸¢Hŀ“ÑɲʋØƥþƈƘ}»;“.¶“A“If“ a”“ṚøTøṖ’ṃFḊ”?

Try it online!

How it works (outdated)

“ɱDœɓẆ'ṫ“Ñ3$ṘW5Ḍż⁸¢Hŀ“ÑɲʋØƥþƈƘ}»

The strings ɱDœɓẆ'ṫ, Ñ3$ṘW5Ḍż⁸¢Hŀ, and ÑɲʋØƥþƈƘ} use Jelly's inbuilt dictionary to encode ["Peter Piper picked", " peck of pickled peppers", ",\nWhere's the"].

                                 “.¶“A“ “If “?“ a”

This literal yields the string array [".\n", "A ", "If ", "?", " a"].

                                                  “EiƓ[ẹiV’

This bijective base-250 literal yields 1719393895096408710, which is 1024526147102326189.

                                ;                          ṃ

Concatenate the string arrays to the left (yielding an array of 9 strings), then use the base-9 digits of the integer to the right to select strings from the array.

Indexing is 1-based and modular, so digits 1 and 0 correspond to the first and last string, respectively.

Jelly, 64 60 58 57 bytes

“¡ŀṪ]ṃ{yṁ“Ñ3$ṘW5Ḍż⁸¢Hŀ»j⁾ a,Ṛẋ2ż“³ḌM“¡FỊİg“ÑɲʋØƥþƈƘ}»FḊ”?

Try it online!

added 25 characters in body
Source Link
Dennis
  • 210.6k
  • 41
  • 370
  • 825

Jelly, 64 6060 58 bytes

“ɱDœɓẆ'ṫ“Ñ3$ṘW5Ḍż⁸¢Hŀ“ÑɲʋØƥþƈƘ“¡ŀṪ]ṃ{yṁ“Ñ3$ṘW5Ḍż⁸¢Hŀ“ÑɲʋØƥþƈƘ}»;“.¶“A“ “If¶“A“If“ a”“ṚøTøṖ’ṃFḊ”?“ a”“EiƓ[ẹiV’ṃ

Try it online!Try it online!

How it works (outdated)

“ɱDœɓẆ'ṫ“Ñ3$ṘW5Ḍż⁸¢Hŀ“ÑɲʋØƥþƈƘ}»

The strings ɱDœɓẆ'ṫ, Ñ3$ṘW5Ḍż⁸¢Hŀ, and ÑɲʋØƥþƈƘ} use Jelly's inbuilt dictionary to encode ["Peter Piper picked", " peck of pickled peppers", ",\nWhere's the"].

                                 “.¶“A“ “If “?“ a”

This literal yields the string array [".\n", "A ", "If ", "?", " a"].

                                                  “EiƓ[ẹiV’

This bijective base-250 literal yields 1719393895096408710, which is 1024526147102326189.

                                ;                          ṃ

Concatenate the string arrays to the left (yielding an array of 9 strings), then use the base-9 digits of the integer to the right to select strings from the array.

Indexing is 1-based and modular, so digits 1 and 0 correspond to the first and last string, respectively.

Jelly, 64 60 bytes

“ɱDœɓẆ'ṫ“Ñ3$ṘW5Ḍż⁸¢Hŀ“ÑɲʋØƥþƈƘ}»;“.¶“A“ “If ?“ a”“EiƓ[ẹiV’ṃ

Try it online!

How it works

“ɱDœɓẆ'ṫ“Ñ3$ṘW5Ḍż⁸¢Hŀ“ÑɲʋØƥþƈƘ}»

The strings ɱDœɓẆ'ṫ, Ñ3$ṘW5Ḍż⁸¢Hŀ, and ÑɲʋØƥþƈƘ} use Jelly's inbuilt dictionary to encode ["Peter Piper picked", " peck of pickled peppers", ",\nWhere's the"].

                                 “.¶“A“ “If “?“ a”

This literal yields the string array [".\n", "A ", "If ", "?", " a"].

                                                  “EiƓ[ẹiV’

This bijective base-250 literal yields 1719393895096408710, which is 1024526147102326189.

                                ;                          ṃ

Concatenate the string arrays to the left (yielding an array of 9 strings), then use the base-9 digits of the integer to the right to select strings from the array.

Indexing is 1-based and modular, so digits 1 and 0 correspond to the first and last string, respectively.

Jelly, 64 60 58 bytes

“¡ŀṪ]ṃ{yṁ“Ñ3$ṘW5Ḍż⁸¢Hŀ“ÑɲʋØƥþƈƘ}»;“.¶“A“If“ a”“ṚøTøṖ’ṃFḊ”?

Try it online!

How it works (outdated)

“ɱDœɓẆ'ṫ“Ñ3$ṘW5Ḍż⁸¢Hŀ“ÑɲʋØƥþƈƘ}»

The strings ɱDœɓẆ'ṫ, Ñ3$ṘW5Ḍż⁸¢Hŀ, and ÑɲʋØƥþƈƘ} use Jelly's inbuilt dictionary to encode ["Peter Piper picked", " peck of pickled peppers", ",\nWhere's the"].

                                 “.¶“A“ “If “?“ a”

This literal yields the string array [".\n", "A ", "If ", "?", " a"].

                                                  “EiƓ[ẹiV’

This bijective base-250 literal yields 1719393895096408710, which is 1024526147102326189.

                                ;                          ṃ

Concatenate the string arrays to the left (yielding an array of 9 strings), then use the base-9 digits of the integer to the right to select strings from the array.

Indexing is 1-based and modular, so digits 1 and 0 correspond to the first and last string, respectively.

added 34 characters in body
Source Link
Dennis
  • 210.6k
  • 41
  • 370
  • 825

Jelly, 64 60 bytes

“ɱDœɓẆ'ṫ“Ñ3$ṘW5Ḍż⁸¢Hŀ“ÑɲʋØƥþƈƘ}»;“.¶“A“ “If “?“ a”“EiƓ[ẹiV’ṃ

Try it online!

How it works

“ɱDœɓẆ'ṫ“Ñ3$ṘW5Ḍż⁸¢Hŀ“ÑɲʋØƥþƈƘ}»

The strings ɱDœɓẆ'ṫ, Ñ3$ṘW5Ḍż⁸¢Hŀ, and ÑɲʋØƥþƈƘ} use Jelly's inbuilt dictionary to encode ["Peter Piper picked", " peck of pickled peppers", ",\nWhere's the"].

                                 “.¶“A“ “If “?“ a”

This literal yields the string array [".\n", "A ", "If ", "?", " a"].

                                                  “EiƓ[ẹiV’

This bijective base-250 literal yields 1719393895096408710, which is 1024526147102326189.

                                ;                          ṃ

Concatenate the string arrays to the left (yielding an array of 9 strings) and, then use the base-9 digits of the integer to the right to select strings from the array. 

Indexing is 1-based and modular, so digits 1 and 0 correspond to the first and last string, respectively.

Jelly, 64 60 bytes

“ɱDœɓẆ'ṫ“Ñ3$ṘW5Ḍż⁸¢Hŀ“ÑɲʋØƥþƈƘ}»;“.¶“A“ “If “?“ a”“EiƓ[ẹiV’ṃ

Try it online!

How it works

“ɱDœɓẆ'ṫ“Ñ3$ṘW5Ḍż⁸¢Hŀ“ÑɲʋØƥþƈƘ}»

The strings ɱDœɓẆ'ṫ, Ñ3$ṘW5Ḍż⁸¢Hŀ, and ÑɲʋØƥþƈƘ} use Jelly's inbuilt dictionary to encode ["Peter Piper picked", " peck of pickled peppers", ",\nWhere's the"].

                                 “.¶“A“ “If “?“ a”

This literal yields the string array [".\n", "A ", "If ", "?", " a"].

                                                  “EiƓ[ẹiV’

This bijective base-250 literal yields 1719393895096408710, which is 1024526147102326189.

                            ;                          ṃ

Concatenate the string arrays (yielding an array of 9 strings) and use the base-9 digits of the integer to select strings from the array. Indexing is 1-based and modular, so digits 1 and 0 correspond to the first and last string, respectively.

Jelly, 64 60 bytes

“ɱDœɓẆ'ṫ“Ñ3$ṘW5Ḍż⁸¢Hŀ“ÑɲʋØƥþƈƘ}»;“.¶“A“ “If “?“ a”“EiƓ[ẹiV’ṃ

Try it online!

How it works

“ɱDœɓẆ'ṫ“Ñ3$ṘW5Ḍż⁸¢Hŀ“ÑɲʋØƥþƈƘ}»

The strings ɱDœɓẆ'ṫ, Ñ3$ṘW5Ḍż⁸¢Hŀ, and ÑɲʋØƥþƈƘ} use Jelly's inbuilt dictionary to encode ["Peter Piper picked", " peck of pickled peppers", ",\nWhere's the"].

                                 “.¶“A“ “If “?“ a”

This literal yields the string array [".\n", "A ", "If ", "?", " a"].

                                                  “EiƓ[ẹiV’

This bijective base-250 literal yields 1719393895096408710, which is 1024526147102326189.

                                ;                          ṃ

Concatenate the string arrays to the left (yielding an array of 9 strings), then use the base-9 digits of the integer to the right to select strings from the array. 

Indexing is 1-based and modular, so digits 1 and 0 correspond to the first and last string, respectively.

added 1 character in body
Source Link
Dennis
  • 210.6k
  • 41
  • 370
  • 825
Loading
added 6 characters in body
Source Link
Dennis
  • 210.6k
  • 41
  • 370
  • 825
Loading
added 6 characters in body
Source Link
Dennis
  • 210.6k
  • 41
  • 370
  • 825
Loading
Source Link
Dennis
  • 210.6k
  • 41
  • 370
  • 825
Loading