1nums: [int] = [2, 7, 11, 15];
2target: int = 9;
3
4ind1: int = 0;
5ind2: int = 0;
6
7arr = arrpush(arr: nums, value: 12);
8
9i: int = 0;
10while i < len(of: nums)
11{
12 j: int = 0;
13 while j < len(of: nums)
14 {
15 if nums[i] + nums[j] == target
16 {
17 ind1 = i;
18 ind2 = j;
19 }
20 }
21}
22
23print(message: str(from: ind1) + " and " + str(from: ind2));