Nope. without a quine

From Esolang
Jump to navigation Jump to search

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

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