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 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.

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.

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