Create a program or function that takes no input, and outputs (or returns):
I'm a programming paradox — no I'm not.
Without using a character twice in any string, or digit twice in any integer.
You may not use any character twice within a string. For example, the word
"test"would violate this rule.
You may not use any character twice between strings. For example, if somewhere in your code you have the string
"hi", no other strings may contain the substring
You may not use a digits more than once within an integer. For example, the integer
200would not be acceptable.
You may not use a digit more than once between integers. For example, if you have the integer
40in your code, you may not have the integer
The above rules do not apply between data types. You could, for example, have the string
"9"and the integer
9in your code.
An uppercase letter is considered a separate character from the lowercase.
You may only use printable ASCII characters in your strings.
You may not set variables to each character and add them together.
Here is an example, written in Python 2, of what the same challenge might look like with the string "Hello, World!" instead.
Note: For those wondering why I chose this particular string; I chose it because it has several repeated characters and a repeated word. It has no greater significance or meaning.