Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Why the output is 2? چرا خروجی این کد ۲ می شود؟
c#
1 Vote
2 Answers
30th Dec 2017, 7:59 AM
الف.پ
¿porqué python se llama pytohon 3? que hay un python 2? python 1?
lenguajes
python
python2
python3
0 Votes
3 Answers
11th Jun 2020, 2:54 AM
nacho agost
Why do I keep getting SyntaxError: invalid syntax in line 2?
python
python3
0 Votes
1 Answer
8th Nov 2016, 8:52 AM
An Bùi
Why do I get TypeError: 'builti_function_or_method' object is not subscriptable in row 2?
python3
1 Vote
2 Answers
31st Oct 2021, 12:36 PM
Neethu Nath
Why do I get a strange exception in kotlin on numbers above 2?
array
exception
for-loop
kotlin
0 Votes
2 Answers
3rd Jun 2018, 11:51 PM
Rora
Why is childNodes.length for each category 5 when it should be 2?
arrays
dom
javascript
nodelist
0 Votes
1 Answer
16th Mar 2022, 7:33 PM
Margaret Guzman
Where can I learn Swift 3? And in what ways does it differ from swift 2?
3
sololearn
swift
4 Votes
5 Answers
15th Oct 2016, 5:17 PM
Alex
cant understand how the matrix is transposed and how the output is 2?
rprogramming
0 Votes
2 Answers
14th Oct 2022, 1:20 PM
REVATHI S
Can anyone tell me why m not passing test cases after passing 1 and 2?
halloween_candy
testcase
0 Votes
3 Answers
25th Dec 2019, 11:03 AM
Iraz Irfan
Can anybody please explain me why the result of 2.05 - 0.05 isn't 2?
code
java
output
1 Vote
3 Answers
27th Jul 2017, 3:51 PM
Jnny
Csharp # why char is using single quotes and string use 2?
c#
variables
0 Votes
1 Answer
20th Jan 2017, 1:09 AM
ronnel tang
What is the output of i=++i + ++i in C , provided the initial value of i is 2?
c
increment
1 Vote
8 Answers
13th Sep 2019, 4:05 PM
SWETA X
What is a cybersecurity language that will live on at least a decade or 2?
cybersecurity
0 Votes
2 Answers
12th Jun 2020, 12:58 AM
Jordan
Why is 25 % 7 = 4? And 70 % 17 = 2?
c++
operators
0 Votes
2 Answers
11th Aug 2016, 12:16 PM
Gianluca
Why does this code give me 10 as the output when I input 2?
c++
loops
1 Vote
2 Answers
10th Jan 2017, 1:10 AM
Piano Theorist
Could anyone explain me how the output of the following code snippet is 2?
2
c++
code
output
1 Vote
1 Answer
11th Sep 2017, 3:56 PM
Prasad K G
Why is the output 0 1 2 and not 0 1 2 0 1 2?
loops
range
tuples
0 Votes
1 Answer
17th Feb 2018, 12:12 PM
Shubham Anand
how and why does list[list[4]] work in quiz 2? I don't get it and it isnt explained??
modules
python
1 Vote
2 Answers
18th Aug 2016, 2:39 PM
Paul
Someone please explain to me why the next code give 4. I dont understand at all. Shouldn't be 2?
javascript
2 Votes
3 Answers
26th Feb 2018, 7:07 AM
Sunny
Why does this output 1, even if i set it's "index" value to anything above 1 or 2?
javascript
loops
0 Votes
2 Answers
20th Aug 2019, 7:46 PM
Henry Hefler
Why is there no course for learning Python 2? I am taking Prof. Charles Severance 's Programing for everybody
python
0 Votes
4 Answers
15th Dec 2016, 4:49 PM
Mike
Why the output is 1211? How do we get 1 for the first output and why the values of y and z didn't change to 2?
c++
cpp
logic
3 Votes
9 Answers
18th Jul 2018, 9:12 AM
Yelyzaveta Al-Dara
After learning java sololearn what should i do is there anything out there like a java sololearn 2?
java
1 Vote
2 Answers
3rd Dec 2016, 9:13 PM
James Bond
if nums [3] = nums [1], then nums [1] = nums [3], therefore the output will not be 2, but 4. Why then output 2?
python3
1 Vote
4 Answers
15th Aug 2020, 9:14 AM
иван
Why the Other One with (arr[k]) is 1, 2, 3 but the Other One with Just (k) is 0, 1, 2?
es6
javascript
2 Votes
2 Answers
19th Jan 2018, 1:22 AM
Vincent Matthew Benito
Why <frameset> is not supported by html5? The how frames are set in html5? which method is easy and effective among these 2?
frames
html
0 Votes
5 Answers
18th Mar 2017, 9:45 AM
Saumil Pansheriya
Как вы считаете, если я хочу выучить к примеру языки C++ и Java, то следует выучить сначала 1, потом другой или учить сразу 2?
c++
java
progress
sololearn
1 Vote
2 Answers
19th Sep 2018, 10:21 AM
Программист Корнеев
why this output 5 and why not 2? #include <iostream> using namespace std; void func(int &x) { x=5; } int main() { int x=2; func(x); cout<<x; }
c++
0 Votes
7 Answers
24th Aug 2016, 3:18 AM
Lekhraj Singh
How to print © symbol on python in cmd?
©symbol
2?
how
in
include
python
to
0 Votes
2 Answers
22nd Apr 2020, 9:47 PM
Saimom Emon
where did I go wrong in this code for it to give me 1instead of 2? class A: def method(self): print (1) class B(A): def method(self): print(2) B().method()
inheritance
python
1 Vote
5 Answers
1st Aug 2016, 12:03 PM
winston j.c mhango
When we use multidimensional array , like int [][]= a {{c,b,b}{g,u,o}} Then is it array 0 and array 1 or array 1 and array 2?
arrays
java
0 Votes
1 Answer
10th Dec 2016, 4:22 PM
Sana Khanam
class A{ public: int x=2; ~A(){x++;} }; int main() { A ob; cout<<ob.x; } Why does it print 2? And why does it print 3 when you remove the ~ and turn it into a constructor?
c++
0 Votes
5 Answers
5th Aug 2016, 6:58 PM
jigoku_tenshi
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
2
3
Next >
Hot today
Ejercicio Pytho
0 Votes
What's wrong with this code ? ( Beginner)
2 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Write a program to find the strings are in isogram or not
0 Votes
Please rate my code from 1 to 10
2 Votes
How to start
0 Votes
Is there any new bug in the projects reply sections?
0 Votes
Recursion doubt
2 Votes