Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
I don't understand why the code use x in sum+=myArr[x]. I have tried to use double instead int and it doesn't work.
arrays
0 Votes
2 Answers
6th Feb 2018, 3:28 PM
Mariano Martin
I was just wondering why spam and eggs is always reffered to in python? I mean i get that its some sort of monty python refrence but why???
python
1 Vote
2 Answers
6th Apr 2017, 4:33 PM
anni
why whene i type login and after that i type a password that is not in the list python prints successfuly logged in
python3
0 Votes
2 Answers
13th Sep 2020, 8:16 PM
MohamedRayen Lamouchi
Why when I open a file with .py extension after executing the code it automatically closes?And How can I prevent it from closing
python
python3
1 Vote
2 Answers
21st Oct 2017, 11:47 AM
Amit Rawat
The srand() function is used to generate truly random number. Can anyone explain this just confuse a lot why this need in rand
c++
rand
1 Vote
2 Answers
11th Aug 2017, 1:50 AM
Naresh
I AM not writting the tags <html> , body,head then also the content is showing on my browser why and how is it happening??
html5
xhtml
0 Votes
2 Answers
30th Aug 2018, 4:42 PM
KUNAL KULDEEP
Pls can anyone explain to me why the (else if) condition is not working in the code below even when it's condition is meat???
code
0 Votes
3 Answers
30th May 2017, 7:17 PM
ibrahim danjuma
Why am I unable to change the font type and size in a paragraph using inline style in an HTML document with the Anwriter app?
css
font
0 Votes
3 Answers
19th Jan 2017, 1:28 AM
Oscar Geovanny Bonilla Cruz
Why do i have to put the input first when I execute a code on SoloLearn?....when its supposed to go step by step when I call it.
code
executing
input
0 Votes
2 Answers
8th Aug 2021, 4:57 AM
Cesar
Hey! I want to ask a question that is what is the purpose of using cin.ignore() in C++? Like when or why to use it in code.
c++
helpplease
1 Vote
2 Answers
12th Jun 2018, 5:08 PM
Sana Fatima
How to put spacing between the words in Output or why there are no spaces between the words when i code?
c++
cout
0 Votes
2 Answers
30th Aug 2017, 6:54 AM
Harshwardhan Fartale
Why am i getting no output while i think it should come "four" Or where am i wrong help 🙏
switch
0 Votes
1 Answer
15th Aug 2019, 12:45 AM
DataStream Cowboy
why with this code when we console id[0] = popup-on and id[1] starting from right to left id[1] = contact
javascript
0 Votes
1 Answer
7th Sep 2022, 4:09 AM
Dupandes Milenium Kurnia D
Divisions create float in python 3 then... Why float is used in >>>9**(1/2) that is 3.0 and >>>2**5 is 32
numeric-operations
python
0 Votes
2 Answers
14th Jul 2017, 6:21 AM
pratik ahir
why we write return 0 only I tried to write return 7282 and it still work . what's the reason?
c++
0 Votes
2 Answers
10th Jul 2016, 10:23 AM
RozeAbel
Why is C++ considered better than C.If I have to start from the beginning,which one should I start with, C or C++.
c
c++
0 Votes
2 Answers
18th Oct 2017, 6:02 AM
Yushant Tyagi
In most cases, we want a copy constructor in object oriented program in java..I actually do not understand why do we use it!!!!
java
1 Vote
2 Answers
5th Mar 2017, 8:50 PM
Rea
The Return Type: returns the greater one. What happens if I enter 2 equal values? Why its not error?
0 Votes
2 Answers
2nd Jun 2017, 3:10 PM
Alex Ihnatsiuk
Why does my Pycharm type an old code I was working on repeatedly whenever I try type something new??
pycharm
python3
0 Votes
1 Answer
7th Dec 2020, 6:35 PM
Omega Shange
Why does "unable to open file 'iostream' shows up in each of my program and how to reapir it?
c++
0 Votes
2 Answers
19th Jul 2017, 4:06 PM
Sam The Soon Rich
Number(wrapper class )by AutoBoxing.some one given me why this problem in case3 o/p is false : give clear information
static
0 Votes
2 Answers
25th Dec 2017, 7:45 AM
Meesala Harish
What is the use of an associative array? Why not just make an object and call it a day?
arrays
javascript
0 Votes
2 Answers
9th Jul 2016, 7:47 PM
Jason
Why Solo Learn app writes no conection when I am trying to save a code, in a same time antena showing Network is present.
code
network
0 Votes
2 Answers
18th Feb 2019, 3:37 PM
Dado
Why this code output nothing? (code in despcription) I am trying to get a inverted star pattern that is from many stars to less
python
python3
0 Votes
1 Answer
18th Apr 2021, 6:17 AM
Ayush Pitale
Why is the output 17 ? (this is the array modul quiz(SoloLearn)) int result = 0; for (int i = 0; i < 5; i++){ if (i == 3) { result += 10; }else{ result += i; } } System.out.println (result);
java
0 Votes
5 Answers
22nd Jul 2016, 9:41 AM
Peter Müller
why is 'senior' still outputted in this case? I understand that '42' and 'default' outputs because the criteria matches and there is no break, but 'senior' is still false is it not?
c++
switch
2 Votes
3 Answers
19th Jun 2016, 7:35 AM
Ivan L
Hello, I used Class to find the Volume of a sphere by using the rule: volumeSphere=3/4*π*r³ but i dont know why the output is 0
c++
class
help!
1 Vote
2 Answers
23rd Jan 2018, 4:29 PM
RiGeL
I'm a new Java learner and I can't figure out why the result is different when using logical OR operator instead of bitwise OR o
bitwise
java
logical
operators
0 Votes
2 Answers
29th Apr 2020, 10:27 AM
Mohammad Ala Tahhan
Can someone help me why these code can't run successfully in Netbeans? It's Data base connection and selection
data-types
selectors
xcode
-2 Votes
1 Answer
31st Jan 2021, 11:16 PM
Rizalyn Sosing
Why do we need to provide all the user inputs at once during the program start in SOLO-LEARN?
code
input
java
sololearn
0 Votes
1 Answer
19th Nov 2016, 8:45 AM
Khizar Ahmed
Can someone please tell me why my keyboard starts lagging real bad and cursor jumps around my code.?
keyboard,
processor,
troubleshoot
0 Votes
1 Answer
13th Feb 2019, 1:58 PM
Brandon S
Why is thread.sleep() ..as i have heard....harmful....then what is its alternate... the java.util.concurrent ... or any other ?
info
java
java.util.concurrent
required
thread.sleep()
threads
0 Votes
1 Answer
1st Oct 2017, 2:58 AM
parth
What is the difference between "int" and "signed int" and why "int" can hold values over it limits?
c++
data-types
1 Vote
1 Answer
19th Dec 2016, 8:39 PM
Fahem
Why is ruby preferred when other lanfuages like javascript and django are available to do the same job?
ruby
-2 Votes
3 Answers
13th Apr 2017, 2:40 AM
Prasanna Kumar
What is the deference between these codes. which one is bestpractice. Why there is three syntax for same.
java
0 Votes
1 Answer
3rd Jun 2017, 2:42 PM
ASHMIL HUSSAIN
every time i try to execute a database related Django(python) app, why am i seeing this..?? any solution..!!
django
python3
0 Votes
1 Answer
18th Jul 2017, 12:56 PM
Yash Z Das
For swift coder, sololearn only explain (xcode iOS) device. Why sololearn did not explain about window compatible software,
http://sololearn.com
1 Vote
1 Answer
2nd Aug 2017, 11:46 AM
Abdulwahab Uthman
If the elements between the head tags are "non-visual", why do I see it when I run it?
html
0 Votes
1 Answer
10th Aug 2016, 6:28 AM
Code251
Why is the "spam" variable recognized as the self contend and the "hello" variable as the other content?
magic-methods
python
0 Votes
1 Answer
22nd Feb 2018, 4:59 PM
Ben K
Why there is no module in java to get useriInput like cin in c++ and input in python
java
-1 Vote
1 Answer
30th Mar 2020, 7:39 AM
Abhay
why three matrixes's value and address are same after I paste them?the following is the code website 百度提问那
c++
0 Votes
1 Answer
17th Sep 2017, 9:22 AM
learnlearnlearn
Why should we tag <del></del> to deleted the words or sentences? Can't we just press backspace on it?
html
text
0 Votes
1 Answer
12th Jul 2016, 6:11 PM
Show Time
In most programming languages like c,c++,java,python loops syntax alone change but control statements are slightly same why ?
control
loops
statements
0 Votes
0 Answers
1st Jun 2019, 4:39 PM
PRAVEEN R
I couldn't understand why {0} {1}etc are used in equality with variables to print same things in c#
10
20
output
0 Votes
0 Answers
24th Sep 2018, 12:59 PM
haris Ahmad
Let's hear your thoughts on the career paths you've taken. Why choosing software engineering? Testing? Or data science?
back-end
career
engineering
front-end
full-stack
java
options
programming
progress
software
0 Votes
1 Answer
5th Mar 2018, 11:28 AM
Neda Vazharova
Why does it generate a random number in the sequence of iterations when outputting the buble sort algorithm?
array
bublesort
c++
code
search
0 Votes
1 Answer
18th Dec 2017, 12:39 PM
Emanuel Dajti
In programming if we compile the source code to an object file that is in machine language why yet it cannot be run in our os?
executable
objectfile
os
source_code
0 Votes
2 Answers
16th Aug 2018, 7:50 PM
Saeed Vahid
In the topic related to gets() why is that iam able to enter more than 2 characters even thought I changed the array size to 2
input
output
0 Votes
2 Answers
1st Jul 2020, 10:04 AM
Alamelu Chandrashekar
I don't know why but when i write c++ code with an input it says "split your inputs " and so on what is the solution please?
c++#cpp
0 Votes
2 Answers
27th Mar 2022, 5:59 PM
YabSolo
Why does my visual studio programme always show the same output screen after i run my code one time even if i changed the code later ?
c++
compiler
output
1 Vote
2 Answers
29th Nov 2016, 8:40 PM
ghasan
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
444
445
446
...
451
Next >
Hot today
HTML
3 Votes
Functions in python
2 Votes
Answer please
0 Votes
For Mobile app
0 Votes
How can you find whether a number is odd or even in a different way(other than (x%2==0))?
1 Votes
I need advice
0 Votes
this query always result to be incorrect from Sorting Data lesson
1 Votes
I need advice
0 Votes
Html 5 document question
1 Votes
Why this code fails even without data race
0 Votes