We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

No.pe.

From Esolang
Jump to navigation Jump to search

No.pe. is the quine-avoiding constant language QuineAvoiding("Nope.", "No."), inspired by Nope. and No.. Its purpose is to create a Nope. derivative that doesn't allow a quine.

Syntax

If the program is exactly "Nope." (without the quotes), the output is "No.". Otherwise, the output is "Nope."

Examples

Nope. Interpreter

Hello World!

No. Interpreter

Nope.

Quine

This is impossible.

Iterating quine (P2 Oscillator)

No.

and

Nope.

Interpreters

Written in Python:

if input() == 'Nope.':
    print('No.')
else:
    print('Nope.')

Shorter:

print("No."if input()=="Nope."else"Nope.")

See also