Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
Как сделать чтобы при выполнении одного условия не проверялось следующее и выводился только 1 результат а не 2 ?
java
1 Vote
3 Réponses
4th Jan 2021, 9:11 AM
limerboy
What will be the out of this code?
012345
1
12345
2
3
4
5
6
0 Vote
2 Réponses
1st May 2017, 9:21 AM
kothiya meet
Guys I need your help in c++ 3rd step your first program how can I fill it whenever I tried 1 or 2 characters are missed plze
mr.edith
0 Vote
22 Réponses
18th May 2021, 9:04 PM
Shabbir Hussain
output of the below code?
1
10
2
or
0 Vote
1 Réponse
1st Oct 2018, 4:28 PM
Anilkumar V
¿Perdonen, pero saben de alguna manera como no estar apareciendo en recientes cada 2 por 3 al guardar el código?
c#
problema
recents
recientes
3 Votes
5 Réponses
19th Sep 2017, 8:52 PM
blackndBlue
How to make it so that you can open python 2 and 3 on the command line?
python
1 Vote
1 Réponse
3rd Nov 2018, 6:56 AM
Илья Ашаев
Working on python 3 but not in python 2 why? Showing error at "end=" (showing as syntax error)[solved]
error
python2
python3
syntax
vs
0 Vote
3 Réponses
10th Nov 2018, 1:27 PM
partha
A soccer team have played 18 games and won and they had 7 game as a draw each win is 3 point and every draw is 1
help
1 Vote
15 Réponses
11th Oct 2021, 4:42 PM
Gto Gtom
How can we print number 1 to N without the use of looping and recussion in python 3
code
codeplayground
loops
python
python3
1 Vote
2 Réponses
4th Nov 2017, 8:16 PM
Prashant Mishra
What gets printed? d = lambda p: p * 2 t = lambda p: p * 3 x = 2 x = d(x) x = t(x) x = d(x) print x
events
everything
python
sets
2 Votes
3 Réponses
31st Oct 2016, 3:59 PM
victorious victor
What advantage or disadvantage of writing program in 3 file structure in c++ than writing program in 1 file in c++?
c++
file
filestructure
2 Votes
6 Réponses
21st Jan 2017, 5:12 AM
Sa'ad Patel
Hey.. I want to select 2 columns from table A and 1 column from table 2. What syntax do i use please?
sql
0 Vote
3 Réponses
7th May 2018, 9:53 AM
Jims
How long will it take to master major programming languages if I spend at least 1 to 2 hours a day learning programming?
all
c#
c++
html
java
major
ones
php
python
xml
11 Votes
4 Réponses
3rd Oct 2017, 7:06 PM
Mayur N Mallya
Help me out in c language last program i have got the answer of 2 but not the 1 one.
c
0 Vote
4 Réponses
5th Mar 2021, 7:09 AM
YASH MISTRY
[check the code] : why does code 1 and code 2 prints 13 and 14 characters respectively? Why different? They should have the same
arrays
c
c++
clang
clanguage
cpp
strings
0 Vote
4 Réponses
15th May 2022, 10:49 AM
blueshipswims
I am not sure why am I getting count as 2 instead of 1 when I am rendering my app for the first time .
javascript
react
web-development
3 Votes
6 Réponses
29th May 2024, 2:49 PM
Levvi
How to become a good python coder ? Should I start with python 2 or python 3 ?
python
1 Vote
2 Réponses
4th Apr 2017, 11:54 AM
Raihan Ahmed
Need help i just don't understand why this codes output is 1 3 6 10 15 21 can anyone explain
recursion
1 Vote
1 Réponse
1st Sep 2022, 3:39 PM
Powfu Powfu
why this output 2 not 3 ? #include <iostream> using namespace std; int main() { int x=1; x=x++; cout<<++x; }
c++
0 Vote
5 Réponses
25th Aug 2016, 12:33 PM
Lekhraj Singh
What is the difference between these two programs: FROM module 3 final quiz, problem 2 and 4
python
0 Vote
1 Réponse
25th Sep 2016, 7:55 AM
Saurav Gupta
Find the missing number in an integer array of 1 to 10. For eg :- I/p - 1,2,4,5,6,8,9,10 o/p- 3 and 7
arrays
2 Votes
3 Réponses
24th Nov 2020, 1:41 PM
Ritika Singh
I want a code that show the square and cube of 10 number.0 1 2 3...9 10 ...... show in chart or table ...
c++
7 Votes
8 Réponses
30th Sep 2017, 8:50 PM
Reyhane.a
i have to make a program to print traditional division format 2 digit divisor and 3 digit dividend
c
0 Vote
1 Réponse
15th Jan 2022, 1:48 PM
sonam saini
[check code] : Why does Code 1 prints the characters as it is sent through "scanf" and code 2 doesn't. Please Explain
arrays
c
characters
clang
cpp
doubt
java
strings
1 Vote
3 Réponses
16th May 2022, 5:42 AM
blueshipswims
How do I write a program in Python to display the following number series: 1 2 4 8 16 32 64 128 256 and so on.
number
series
2 Votes
6 Réponses
6th Jan 2018, 4:15 AM
Vishwatma Bhat
Is it possible that I won SoloLearn (21) with 3 - 2 in HTML challenge or am just dreaming guys?
sololearn
0 Vote
2 Réponses
9th Jul 2020, 5:23 PM
Musoke Yassin
How do i confirm if a number is dividble by 2 over and over and the answer is 1
c++
math
1 Vote
2 Réponses
23rd Oct 2017, 12:24 PM
Berke Aslan
I don't understand why g1, g2 & g3 values is not aligned with Group 1, Group 2 and Group 3 which is the expected output..
python
relay_race
solved
2 Votes
6 Réponses
6th May 2024, 2:14 PM
Mahmuda Akter Moon
What is the minus 1 in line 3 actually doing in this loop? “max_index = len(words) - 1“.
loops
python
0 Vote
1 Réponse
11th Nov 2017, 1:20 AM
Divus iulius
Please do you suggest i make note as i learn with Sololearn. Or i should just 1. Read , 2 answer the question , and 3 practice.
css
html
javascript
php
14 Votes
11 Réponses
11th Nov 2017, 10:16 PM
Ernest Brayce
Sighs....module 3 question 2 is really giving me problem ...pls who can help out vbeen stuck on it for weeks
python
0 Vote
4 Réponses
19th Sep 2016, 4:58 AM
Stephen Antai
Данно число n>0 сформироват и вывести целлочисленых массив размера n содержащий степень 2 от 1 до n ?
n>0
-1 Vote
1 Réponse
8th Nov 2019, 8:09 AM
Ahmad TKM
Is it better to learn Langueges one after the other or 2 or 3 togther at the same time?
css
html
js
time
2 Votes
1 Réponse
13th May 2017, 1:03 PM
Ashraf Beshtawi
How to use max() in aggregate functions with 2 or 3 tables in it ?? give an example.
sql
0 Vote
2 Réponses
7th Jul 2016, 7:23 AM
Sandeep reddy
In Phyton, how to make a limited choice of the input ? For example, the code can only accept the input 1 or 2 or 5.
choice
how
input
limited
make
of
to
3 Votes
7 Réponses
11th Jul 2018, 8:38 PM
Elvin Jack Jain
Why does the countdown start on 3 when the print says i = i - 1 if i = 3?
loops
python
0 Vote
3 Réponses
21st Jul 2016, 9:47 AM
Daniel
In my solution first 2 outputs are correct but 3 of them are incorrect but I can't see output of my code.
inappropr
sololear
1 Vote
4 Réponses
2nd Nov 2020, 1:40 AM
S.L. Sashika Sandeepa Damseth
Write a program that prompts the user to input an integer and then outputs bothe the individual digits of the number and the sum of digits,for example the input is :123456,the outputs are 1 2 3 4 5 6 and sum=21
c++
loops
0 Vote
3 Réponses
30th Nov 2016, 1:33 PM
teena
#include <iostream> using namespace std; int main() { cout<< "Alcacer 2 goals, CR7 1 goal"; cout<< "CR7 is old like Chi
c++
variables
1 Vote
3 Réponses
8th Nov 2017, 10:27 AM
EGENTI PRECIOUS C.
kindly explain.When n<=2 ,the answer is 5 ,but when n<=1,answer is 3. While n=n%5 so 9%5= 4. While 4 is bigger than both 1 and 2
def
return
1 Vote
7 Réponses
25th Jun 2022, 11:42 AM
Tafseer Ahmad
This is ternary operator 1st condition is true i=0 and true value is 1 but why the output show 3 . Explain?
cpp
sololearn
0 Vote
3 Réponses
16th Sep 2020, 12:08 PM
Suparna Podder
Why in the course it shows 1/13 or 2/13 where in actual there are only 2 or 3 slides?
python
0 Vote
1 Réponse
8th Jan 2019, 7:07 AM
Raju Ritigya
I may be forgetting something obvious, but how would I place 2 or 3 <div> elements on the same line? I don't want line breaks.
css
html
project
website
1 Vote
6 Réponses
15th Nov 2019, 10:13 PM
Michael
Explain how: if not True: print("1") elif not (1 + 1 == 3): print("2") Gives the output as 2
boolean-logic
python
0 Vote
1 Réponse
26th Oct 2016, 2:31 PM
Brave
how can I break a line as line 1 & line 2 of address column while inserting values in table ?
insert
sql
tables
-1 Vote
4 Réponses
8th Jul 2016, 2:58 PM
Mohan pochampalle
I want to lock from upgrade 2 and more so you cant bypass the upgrades. Also sometimes without buying upgrade 1 you can go -neg.
class
dom
id
js
0 Vote
7 Réponses
23rd Aug 2018, 1:53 PM
hoirun
How to print all the prime numbers from 1 to 10 and from 3 to 5 or n to m which will be input "testcase" times?
c++
in
plz
send
2 Votes
7 Réponses
21st Nov 2018, 8:24 AM
The Coder(Abeer)
sum of all numbers that are a multiple of 3 in the range of 1 to 1000 , by using a loop, please help🙏
r
sum
1 Vote
4 Réponses
4th Jul 2022, 2:04 PM
Claire
I dont understand what happends when theres 2 for loops inside 1 statement can anyone explain? I tried to work it out but still.
for
loop
2 Votes
5 Réponses
9th Aug 2017, 11:46 AM
D_Stark
Why Result is 2 not 1 ? a() method already defined in both A&B . How to call the super class method from child class in this par
inheritance
python
0 Vote
7 Réponses
8th Mar 2017, 9:51 AM
Muhamed Ziedan
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
7
8
9
10
Suivant >
Aujourd'hui en vedette
X velocity
2 Votes
And... Who is the staff then?
3 Votes
Files not linking in C++
0 Votes
I want to make a triangle area calculator ,anybody can teach me
2 Votes
Web Dev
1 Votes
Img & web server or personal info
0 Votes
Pls give me an idea
1 Votes
Why Pro?
1 Votes
How to achieve "Sololearner" achievement?
0 Votes
Problem with Javascript
0 Votes