51 lines
1.5 KiB
Plaintext
51 lines
1.5 KiB
Plaintext
x = 10
|
|
y = 3.14
|
|
str_var = "Hello, World!"
|
|
is_true = True
|
|
list_var = [1, 2, 3, 4, 5]
|
|
dict_var = {"key": "value", "another_key": "another_value"}
|
|
tuple_var = (1, 2, 3)
|
|
set_var = {1, 2, 3}
|
|
let x = 10;
|
|
let y = 3.14;
|
|
let strVar = "Hello, World!";
|
|
let isTrue = true;
|
|
let arrayVar = [1, 2, 3, 4, 5];
|
|
let objectVar = {"key": "value", "anotherKey": "anotherValue"};
|
|
let tupleVar = [1, 2, 3];
|
|
let setVar = new Set([1, 2, 3]);
|
|
int x = 10;
|
|
double y = 3.14;
|
|
String strVar = "Hello, World!";
|
|
boolean isTrue = true;
|
|
int[] arrayVar = {1, 2, 3, 4, 5};
|
|
HashMap<String, String> mapVar = new HashMap<>();
|
|
Tuple tuVar = new Tuple(1, 2);
|
|
Set<Integer> setVar = new HashSet<>();
|
|
int x = 10;
|
|
double y = 3.14;
|
|
string strVar = "Hello, World!";
|
|
bool isTrue = true;
|
|
int[] arrayVar = {1, 2, 3, 4, 5};
|
|
Dictionary<string, string> dictVar = new Dictionary<string, string>();
|
|
dictVar.Add("key", "value");
|
|
dictVar.Add("anotherKey", "anotherValue");
|
|
Tuple<int, int> tupleVar = new Tuple<int, int>(1, 2);
|
|
HashSet<int> setVar = new HashSet<int>();
|
|
x = 10
|
|
y = 3.14
|
|
str_var = "Hello, World!"
|
|
is_true = true
|
|
array_var = [1, 2, 3, 4, 5]
|
|
hash_var = {"key" => "value", "another_key" => "another_value"}
|
|
tuple_var = [1, 2, 3]
|
|
set_var = Set.new([1, 2, 3])
|
|
var x: Int = 10
|
|
var y: Double = 3.14
|
|
var strVar: String = "Hello, World!"
|
|
var isTrue: Bool = true
|
|
var arrayVar: [Int] = [1, 2, 3, 4, 5]
|
|
var dictVar: [String: String] = ["key": "value", "anotherKey": "anotherValue"]
|
|
var tupleVar: (Int, Int) = (1, 2)
|
|
var setVar: Set<Int> = [1, 2, 3]
|