Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
Python
JavaScript
Java
C++
pi = 3.14 print(pi) #Python
const pi = 3.14; console.log(pi); //JavaScript
public class Main { public static void main(String[] args) { float pi = 3.14f; System.out.println(pi); } } //Java
#include
using namespace std; int main() { float pi = 3.14; cout << pi; return 0; } //C++
Python result:
JavaScript result:
Java result:
CPP result:
3.14
3.14
3.14
11