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.

Nope. without a quine

From Esolang
Jump to navigation Jump to search
Not to be confused with Nope. with no quine.

Nope. without a quine is the quine-avoiding constant language QuineAvoiding("Nope.", "lol no quine for you"). 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.

the output is lol no quine for you.

Otherwise, the output will be Nope.

Example

Cheating Quine(I'm going to fool you with invisible characters, lol)

​Nope.

p2 Oscillator

lol no quine for you

And

Nope.

Implementation

Python 3

# Python 3
code = input('Nope > ')
if code == 'Nope.': print('lol no quine for you')
else: print('Nope.')

Batch

@echo off
set /p code=
if %code% EQU Nope. goto lol
goto nope
:lol
echo lol no quine for you
pause >nul
exit
:nope
echo Nope.
pause >nul
exit

C++

#include<bits/stdc++.h>
using namespace std;
string com;
int main()
{
	cout << "Nope.(Without Quine) interpreter 3.01" << endl;
	   
	while(true)
	{
		printf("Nope >");
		getline(cin, com);
		if(com == "Nope.")
		{
			cout << "lol no quine for you\n" << endl;
		}
		else
		{
			cout << "Nope.\n" << endl;
		}
	}
	return 0;
}

See also