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