6

From Esolang
Jump to navigation Jump to search

6 is an Esolang developed by PSTF.

All of the programs is output 6 in this Esolang.

Name

All kind of 6(such as 六, 陆, VI, Six, etc.) are all the name of this Esolang.

Examples

Print 6

  

Self interpreter

  

Python version

print(6)

Quine

6

Implementation

A lot of interpreter.

Befunge

6.@

中文

定义字符串变量 src 。
输入 src 。
输出6。

C++

#include<iostream>
#include<cstring>
using namespace std;
string src;
int main()
{
    getline(cin, src);
    cout << 6 << endl;
    return 0;
}

Python

src = input("Please input: ")
print(6)

HZCode

六说停

Brainfuck

++++++++[>++++++<-]>++++++.

Java

import java.io.*;
import java.util.*;
public class Main {
    public static void main(String args[]) throws Exception {
        Scanner cin=new Scanner(System.in);
        String src=cin.nextLine;
        System.out.println("6");
    }
}

Batch File

@echo off
set /p input=src:
echo 6
pause

15

;_@6#

'Python' is not recognized

@|6

Online interpreters

6 interpreter in IEO-fork (The same interpriter in Interpret Esolangs Online)