Nope. without a quine: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
mNo edit summary |
No edit summary Tag: Reverted |
||
| Line 4: | Line 4: | ||
== Commands == |
== Commands == |
||
There's no commands in this language, as it just rejects the program. |
There's no commands in this language, as it just rejects the program. |
||
If the program is <pre>Nope.</pre> |
If the program is <pre>Nope.</pre> then do "Hello, World!" program. |
||
Otherwise, the output will be <code>Nope.</code> |
Otherwise, the output will be <code>Nope.</code> |
||
| Line 11: | Line 11: | ||
# Python 3 |
# Python 3 |
||
code = input('Nope > ') |
code = input('Nope > ') |
||
if code == 'Nope.': print(' |
if code == 'Nope.': print('Salut tout le monde!') |
||
else: print('Nope.') |
else: print('Nope.') |
||
</pre> |
</pre> |
||
Revision as of 12:09, 10 July 2024
Nope. without a quine is a language made by User:SnakeyKing. It is a Nope. derivative but there's no quine.
Commands
There's no commands in this language, as it just rejects the program.
If the program is
Nope.
then do "Hello, World!" program.
Otherwise, the output will be Nope.
Implementation
# Python 3
code = input('Nope > ')
if code == 'Nope.': print('Salut tout le monde!')
else: print('Nope.')