Public users codes are in this section. You can use these codes for learning or as a basic base for your code.
public class MyClass {
public static void main(String[] args) {
String txt = "Please locate wh ...See and Runpublic class MyClass {
public static void main(String[] args) {
String txt = "Hello World";
...See and Runprint(bool(False))
print(bool(None))
print(bool(0))
print(bool(""))
print(bool(()))
print(bool([]))
...See and Rundorus = ["riazi", "adabiat", "varzesh", "farsi", "zist", "tarikh", "joghrafia"]
nomarat = {}
for d ...See and Rundorus = ["riazi", "adabiat", "varzesh", "farsi", "zist", "tarikh", "joghrafia"] nomarat = [] for d ...See and Run
avg = int(input("معدل خود را وارد کنید:\n "))
if avg > 10:
print("شما قبول شده اید")
else:
print ...See and Runavg = input("معدل خود را وارد کنید: \n")
avg = int(avg)
if avg > 10:
print("شما قبول شده اید") ...See and Runage = input("Input your age:\n") #30
age = int(age)
print(age * 2) #60 ...See and Runusername = input("Enter username:\n")
print("Username is: ", username) ...See and Run<?php
class ClassName {
public static function staticMethod() {
echo "Hello World!";
}
}
Cl ...See and Run<?php
$cars = array (
array("Volvo",22,18),
array("BMW",15,13),
array("Saab",5,2),
array ...See and Run<?php $txt = "Hello world!"; $x = 5; $y = 10.5; echo $txt."\n"; echo $x."\n"; echo $y."\n"; ?> ...See and Run
def inputlist (x , n ):
for i in range (n):
x.append(int ( input ("list"+str(i)+"=")))
...See and Runimport operator
action = {
"+": operator.add,
"-": operator.sub,
"/": operator.truediv,
...See and Runimport string, random
while True:
hesam = int(input("لطفا طول رمز عبور خود را وارد کنید: ") ...See and Runnumber = int(input("please Enter integer number: "))
factorial = 1
for i in range(1, number+1):
...See and Rundef isPrime(n):
if n < 2: return "Neither prime, nor composite"
for i in range(2, int(n**0 ...See and Runtxt = "My name is Ståle" x = txt.encode() print(x) ...See and Run
#دوستان این کد برای تا انداختنه #وارد برنامه میشی #تاس میندازه و میپرسه که دوباره تاس بندازم #با کلم ...See and Run
thisset = {"apple", "banana", "cherry"}
y = thisset.pop()
print(x)
print(thisset) ...See and Runprint('ساخته شده توسط حسام الدین')
from itertools import chain, permutations
characters = [
"ا",
"ب ...See and Run#include <iostream>
using namespace std;
int main() {
// This array can store upto 12 elements (2 ...See and Run<?php
function hypotenuse($a, $b){
$c = sqrt(pow($a, 2) + pow($b, 2));
return $c;
}
echo hy ...See and Runfrom itertools import chain, permutations
characters = [
'ب',
'ا',
'د',
'ر',
'گ',
'ی'
]
print("سه ح ...See and Run