Nowy kurs!
Każdy programista powinien nauczyć się
Generative AI!
Wypróbuj darmową lekcję
Kursy
Kursy
Kompilator kodu
Kompilator kodu
Dyskusja
Zdobądź wersję Pro
Zespoły
Zaloguj się
Zarejestruj się
Menu
Dyskusje Q&A
Szukaj
Szukaj
Zadaj pytanie
Zadaj pytanie
Java 8, stream.map
arrays
code
java
0 głosów
1 Odpowiedź
11th Feb 2021, 7:07 AM
Johnatan Rafael Santiago Cigala
Why does it output { 7, 8, 9} out of order, but instead { 8, 9, 7}?
moment.
notclear
1 Głos
4 odpowiedzi
22nd Sep 2023, 3:35 PM
Хорошо
Why in Java result = 8, but in C result = 9
c
java
20 głosów
41 odpowiedzi
10th Jun 2019, 7:29 PM
UraL
why output like this [4, 6, 8, 9]
prime
python3
1 Głos
1 Odpowiedź
29th Mar 2023, 6:13 AM
Muhammed Rishad. K
Python: why does first class print 8, but secont doesn't?
classes
constructors
function-arguments
python
2 głosów
3 odpowiedzi
21st Jun 2020, 4:54 PM
Paolo De Nictolis
Why the output of the program is "4, 4, 8, 1"???
data-types
2 głosów
8 odpowiedzi
25th Sep 2018, 12:48 PM
Khokhar Jeelani
list = [1, 1, 2, 3, 5, 8, 13] print(list[list[4]])
list
1 Głos
3 odpowiedzi
12th Feb 2021, 11:20 PM
Tom Clark
a = [ 1, 7, 8, 68, 76] print(::-2)
python
-3 głosów
2 odpowiedzi
20th Nov 2021, 6:46 AM
Keerthinivaas G.K
why does this code give: [2, 3, 5, 56, 7, 8, 4]
python
0 głosów
5 odpowiedzi
10th Jun 2021, 1:31 PM
SammE
Am confused 🤔 here, why it Outputs [0, 1, 8, 27, 64] anyone to help me.
comprehension
list
listcomprehension
1 Głos
9 odpowiedzi
3rd Mar 2022, 6:01 AM
David Mphande
Why the output {8, 9, 7} not {7, 8, 9} ?
python
sets
0 głosów
2 odpowiedzi
13th Jul 2017, 10:23 PM
Revian Budiman
Fill in the blanks to declare a method that has two int parameters with default values 6 and 8, respectively, and displays their
c#
0 głosów
3 odpowiedzi
18th Apr 2021, 3:02 PM
Ilya Ermishin
a =[ 1, 1, 2, 3, 5, 8, 19, 21, 34, 55, 89 ]
a.instead
ofprinting
th
0 głosów
4 odpowiedzi
17th Jan 2021, 1:35 PM
Vishnu Muralidhar
What is the output of this code? list = [1, 1, 2, 3, 5, 8, 13] print(list[list[4]])
python
0 głosów
3 odpowiedzi
9th Apr 2018, 7:21 AM
VISHWA PRIYA M
What is the result of this code? nums = [9, 8, 7, 6, 5] nums.append(4) nums.insert(2, 11) print(len(nums))
lists
python
-1 Głos
5 odpowiedzi
5th Dec 2016, 12:11 PM
Alisha Leay
Pls I need a java code to count numbers like this 1, 2, 4, 8, 16, 32, 64
c#
java
javascript
php
website
2 głosów
5 odpowiedzi
14th Oct 2017, 12:19 PM
IBTECH
How can i merge two sorted array lists in order to produce one sorted array list? The inputs should be in ascending order .. lets say first array [ 2, 4,8,8,15 ] and the other one [ 4, 7, 8, 8, 8, 10] and return the merged array
arrays
java
0 głosów
3 odpowiedzi
20th Dec 2016, 6:50 PM
Serxhio
Помогите разобраться list = [1, 1, 2, 3, 5, 8, 13] print (list[list[4]]) Почему когда я выдаю ответ 5 он засчитывает, как неправильный?
python
4 głosów
9 odpowiedzi
7th Aug 2016, 9:54 AM
Anastasiya
What's wrong with my "input number of terms", why is 8, but my input is 5
c
0 głosów
1 Odpowiedź
29th Sep 2019, 4:00 PM
Yilin Lian
Given a number x = 8, find a number from 2 to 9, which can divide x without remainder
factors
java
multiples
0 głosów
2 odpowiedzi
27th Aug 2019, 11:59 AM
stephen haokip
Find the missing elements in the list - i have 1to n?array= [1, 2, 3, 4, 5, 6, 8, 9, 10]
lists
python
python3
0 głosów
3 odpowiedzi
22nd Feb 2022, 5:59 AM
Manoj Bhaagam
Can anyone please explain why the output of this operation print(second - first) is {8, 9, 7} not {7, 8, 9} ?
python
sets
3 głosów
4 odpowiedzi
8th Oct 2016, 3:58 AM
Mena Khalaf Louis
[82, 12, 41, 38, 19, 26, 9, 48, 20, 55, 8, 32, 3] how to display numbers that have number 2 in the array
algorithm
arrays
java
2 głosów
4 odpowiedzi
7th May 2020, 2:42 AM
IKHWAN HABIBI
a = [1,1,2,3,5,8] for a[1] in a: pass print(a) result :[1, 8, 2, 3, 5, 8] want to know how index-1 is replaced as 8.
python
2 głosów
3 odpowiedzi
22nd Nov 2019, 6:03 AM
Sreeraj V A
I need help . Write a complete c++program in which you have array.ar [5]={1, 6, 8, 9, 7}. In which user choose 3numbers from the
for
loops
5 głosów
2 odpowiedzi
18th Dec 2016, 3:28 PM
F.Heeh. 2nd Yr. Hebron University
Fill in the blanks to extract all items that are less than 5 from the list. nums = [1, 2, 5, 8, 3, 0, 7] res = list( filter
answer
-5 głosów
5 odpowiedzi
8th Nov 2020, 11:22 AM
Jack Bradshaw
Q12. Reverse an array in groups of given size Input: arr = [1, 2, 3, 4, 5, 6, 7, 8, 9] k = 3
python
0 głosów
3 odpowiedzi
4th Jan 2017, 3:36 PM
manish
first = {1, 2, 3, 4, 5, 6} second = {4, 5, 6, 7, 8, 9} third={2,4,6,8,0} fourth=([4,6,8,5]) print(first | second | third ) prin
set
0 głosów
3 odpowiedzi
15th May 2020, 6:12 AM
Taiwo Yusuf
Fill in the blanks to declare a method that has two int parameters with default values 6 and 8, respectively, and displays their
c#
0 głosów
1 Odpowiedź
18th Jul 2023, 9:39 AM
dhatchanamoorthy m
Why in first case, value of "i" is 8, but in second case, value is 0? I only made a declaration of variable "i"? Does anyone kno
c++
variable
1 Głos
2 odpowiedzi
20th Sep 2019, 1:35 PM
James Anderson
why the code second-first print 8,9,7 and not 7,8,9? first = {1, 2, 3, 4, 5, 6} second = {4, 5, 6, 7, 8, 9} print(second - first)
python
sets
1 Głos
5 odpowiedzi
10th Aug 2016, 10:36 PM
Ido Tal
1. What will be the output? 1. >>> m = [[x, x + 1 , x + 2] for x in ran a) [[1, 2, 3], [4, 5, 6], [7, 8, 9]] b) [[0, 1, 2], [1, 2, 3], [2, 3, 4]] c) [1, 2, 3, 4, 5, 6, 7, 8, 9] d) [0, 1, 2, 1, 2, 3, 2, 3, 4]
lists
python
-1 Głos
7 odpowiedzi
5th Jul 2016, 6:47 AM
shekhar
What happens if I assign a variable x to 8, and Y to x, can i later change what value x holds? Or is Y forced to be equal to 8?
ruby
variables
2 głosów
4 odpowiedzi
2nd Jun 2017, 9:40 AM
william
Given a list of numbers, output their sum using for loop.
[42,
0,
1,
124,
3,
555,
67,
7,
8,
8897,
99]sum=0for
i
in
s
x:
x=
0 głosów
6 odpowiedzi
18th Jul 2022, 9:40 AM
Syed Anas
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
Popularne dzisiaj
Projects in Intermediate JavaScript
0 Votes
Web browser not accepting my code
0 Votes
What is the certificate at the end?
2 Votes
Manual Ai(human)or the new Gen Ai, what benefits will it bring
2 Votes
Hello world
2 Votes
Can any one suggest me how to use app
0 Votes
Hello programming lovers 👋🏻
1 Votes
Random number
1 Votes
Please help I don’t know next step CODERS PLEASE HELP
1 Votes
Hi, everybody let me now how to make different coding and fun coding
0 Votes