Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
Python
JavaScript
Java
C++
is_student = True age = 21 if is_student: print("You can borrow a book from the university library") #Python
const is_student = true const age = 21 if (is_student) { console.log("You can borrow a book from the university library"); } //JavaScript
public class Main { public static void main(String[] args) { boolean is_student = true; int age = 21; if (is_student) { System.out.println("You can borrow a book from the university library"); } } } //Java
#include
using namespace std; int main() { bool is_student = true; int age = 21; if (is_student) { cout << "You can borrow a book from the university library"; } return 0; } //C++
Python result:
JavaScript result:
Java result:
CPP result:
You can borrow a book from the university library
You can borrow a book from the university library
You can borrow a book from the university library
You can borrow a book from the university library