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
Paint cost problem: iam failing only test number 3 test 1 2 4 5 are ok can anyone tell me whats wrong in my code
codecoach
costs
paint
python3
1 Vote
3 Réponses
18th Apr 2020, 11:31 AM
Abdul Majeed Faraz
How to solve case 2 problem.... After solving case 1 correctly ....
..
case2
problem.
solution
0 Vote
4 Réponses
27th May 2022, 5:06 AM
Mohammad Zakir
Can't find the issue, select 2 isn't corresponding with Select 1
</body>
</html>
name="slct2"></select>
0 Vote
2 Réponses
4th Mar 2019, 4:39 PM
Clinton Itotoh
how to create or code 2 design forms in 1 workspace?
c#
0 Vote
3 Réponses
25th Jun 2016, 8:24 AM
khyle Alforque
Is it posaible to make 3 number and 2 operation calculator?
php
1 Vote
1 Réponse
27th Sep 2018, 9:59 AM
Dermawan Adji Saputra
How?i = 3 while i >=0: print(i) i = i - 1 then the answer is 4???
loops
python
0 Vote
19 Réponses
11th Sep 2016, 7:43 AM
Tristan Aryo
Why the ans to this code is 3 shouldn't it be 2
python
python3
1 Vote
3 Réponses
29th Sep 2020, 12:24 PM
Smiley[Offline]
Как понять увеличить число в несколько степеней? 2 3 2 тоесть 4 во 2 степени и мы увеличиваем до 2 степени то это будет 4 в 4с?
numeric-operations
0 Vote
2 Réponses
23rd Feb 2020, 10:57 AM
Keti Liven
How can a user entered row of 2 by 2 or a 3 by 3 matrix can be interchanged with another row of the same matrix in c language?
arrays
dimensional
multi
0 Vote
9 Réponses
25th Nov 2018, 11:45 AM
k180226 Syed Hassan Ali
Can we add number like 1 3 etc as a string??
python
1 Vote
1 Réponse
9th Nov 2021, 3:30 AM
khizar
How this program runs?? I don't know how 3 3 1 prints out..Please can u explain this code?..
c
function-call
1 Vote
2 Réponses
8th Apr 2019, 4:53 AM
Zothansanga Renthlei
Help! Warning: mysqli_query() expects at least 2 parameters, 1 given in
mysql
php
1 Vote
1 Réponse
26th Jan 2019, 8:40 AM
Aung Kyaw Soe
What is major difference between Python 2 & Python 3 ?
python
python3
0 Vote
3 Réponses
30th Apr 2017, 4:03 AM
Ajinkya N. Pathak
Python 1 to 11 numbers which are divided by 3 those numbers wanted to print and count also
3
by
divided
0 Vote
36 Réponses
16th Dec 2023, 9:46 AM
Vel Murali
Use nested switch to calculate bill if cutomer buys 3 items..the customer can either choose 2 items of one kind or 1 item of
nestedswitch
1 Vote
2 Réponses
10th Sep 2018, 5:09 PM
Shivyaaa
Console.writeline("x={0};y={1}",x,y); when we change the values of from 0 to 1 and 1 to 2 it gives errors.
output
0 Vote
2 Réponses
29th Apr 2018, 5:24 AM
Devashish Shukla
Как при нажатии на кнопку ниже выбивало 1, при следуещем нажатии 2 потом 3 и так далле…
html
html5
javascript
-2 Votes
30 Réponses
1st May 2020, 10:16 AM
Anton Гаркушин
In d below program the Output will come as 2 3 1 100 how it vl come can anyone explain? how d sop Statement work here?
java
1 Vote
7 Réponses
2nd Sep 2016, 2:56 PM
suji prem
Что выведет следующий код
2
3
4
1 Vote
2 Réponses
23rd Sep 2017, 10:49 AM
Sergey
Why does not my code work as the the one provided??( in terms of printing the value 0 1 2 3 ...like that ....check the code pls)
html
javascript
1 Vote
7 Réponses
4th Mar 2019, 7:49 PM
[ ]
>>> 1 != 1 False >>> "eleven" != "seven" True >>> 2 != 10 True...how is 1!=1 false, but 2!=10 true?
booleans
0 Vote
6 Réponses
21st May 2019, 11:15 AM
Mike Harris
Why does 2 raised by the power of 3 equal to 8?
java
math
-3 Votes
5 Réponses
6th Jan 2017, 8:09 PM
strangelf47829
Help needed with Halloween Candy ,only test cases 1 and 2 r correct.
coach
code
python
1 Vote
2 Réponses
19th Jan 2023, 9:08 AM
Ochola Mark Joshua
Product of odd numbers from 1 to 15...its where am stuck my outputs are 1 3 5 7 9 11 13
methods
0 Vote
7 Réponses
19th Jul 2018, 6:50 AM
Abby
Anyone please help me printing the following pattern using single for loop in python.. 5...4 5....3 4 5...2 3 4 5....1 2 3 4 5
python3
2 Votes
18 Réponses
9th Jul 2020, 2:48 AM
sarada lakshmi
problem with quiz in the end of part 2 question 3
c#
0 Vote
2 Réponses
27th Sep 2016, 8:00 AM
dlobi2
If I want to increment by 2 or 3 or another numer?
2
by
increment
operators
0 Vote
4 Réponses
11th Jan 2018, 6:53 PM
Pedro Hartmann
How to run 2 or more scripts, starting from 1 single script?
all_language
many
python
scripts
simultaneously
0 Vote
2 Réponses
15th Jun 2018, 6:49 PM
李立威
I want this code output in this form 2 * 1 , 2* 2 and How can I do this?
answerme
-1 Vote
4 Réponses
12th May 2019, 1:10 PM
Anuj Raghu
3 nos are input. Output will be 1 if 3 nos can form a triangle or else output 0.
include
0 Vote
3 Réponses
9th Sep 2018, 10:35 AM
Nilutpol Kashyap
In the following codes, program 2 works. But program 1 doesn't work. Why?
c++
1 Vote
3 Réponses
12th Mar 2021, 6:17 AM
Jawahirullah
Why these codes have these outputs ? output: 0 0 3 0 1
java
1 Vote
2 Réponses
29th Nov 2019, 7:27 PM
Puriya ghazi mir saeed
i had a test for u guys. example : input:253 output: 2 5 3
c++
2 Votes
7 Réponses
29th Oct 2016, 5:39 AM
Farhan Sindy
I want to create a program which will count number like 1 and then 2 and then 3 when user click the button every time.
javascript
0 Vote
2 Réponses
18th Jul 2019, 3:27 AM
Noor
How to merge column in html if we have 3 colum n i wna merge 2 and 3 column
tables
0 Vote
3 Réponses
29th Aug 2018, 7:54 AM
Abhinav Pande
Why Char size is 2 Byte in Java ? while it take 1 byte in C
charsizeinjav
2 Votes
5 Réponses
14th Jan 2020, 6:33 PM
Paras Jain
What is the output of this code? x = 9 x%= 2 x += 3 print(x)
sololearn
2 Votes
4 Réponses
25th Apr 2022, 2:50 PM
Chabolu Dharaneesvar
Write a Program to find the longest positive sequence in array.For eg-> Input -> 1 2 -4 6 7 8 9 -5 3 Output -> 6 7 8 9
c++
0 Vote
12 Réponses
7th Jul 2017, 5:17 PM
Rashi Walia
The program if the number is divisible by 2 numbers tells me only 1
c++
help
0 Vote
4 Réponses
17th Oct 2019, 6:12 AM
panik 007
What Is better for ethial hacking: C++ or C#
1
2
3
5
hacking,
help
me
plsbro
0 Vote
17 Réponses
25th Feb 2018, 6:56 PM
1337 H4x0r
Can we write return 1 or 2 or any number instead of return 0;
c++
variables
-1 Vote
3 Réponses
4th Jul 2021, 5:15 PM
Sundaram Kumar
in the range from 1 to 1000, find 3 numbers with the greatest number of dividers
anyone
c++
can
help
me
please
programm
urgently
0 Vote
14 Réponses
22nd Dec 2017, 9:19 PM
zama
Why 3 " sign , appears while 2 " is necessary in syntax
"
0 Vote
3 Réponses
11th Aug 2022, 1:23 AM
Dilli Raj Bashyal
If n value is 5 ,the output should be 1 2 3 4 5 ,n value should be given by the users only, use any condition loops.
c
c++
cprogramming
programming
2 Votes
2 Réponses
7th Apr 2020, 2:41 PM
Pŕiňcé Ŕãhúł
What is the best laptop 2 in 1 in you opinion in general?
code
coding
computer
games
laptop
programming
video
0 Vote
3 Réponses
22nd Oct 2018, 5:13 PM
Kouhai
( The code project 2 ) , when replacing multiple of 3 by '*'.. position of 3 is getting replaced but 3 still gets printed below
c#
1 Vote
2 Réponses
10th Sep 2021, 9:12 AM
Saood Aga
Python 2 or python 3 which one is most usefull for the year 2018..
ai
python
python3
1 Vote
3 Réponses
14th May 2018, 3:09 AM
Rudransh Sharma
Can I install Python 2 and Python 3 on windows together? If yes, then how?
python
python3
windows
3 Votes
4 Réponses
5th Apr 2020, 4:48 PM
Vishaka Saxena
2 kingdom are at war.kingdom 1 has N soldiers (no. As 1 to N) & war goes on for K days.each day only 1 solider can be select.
algorithm
are
at
c++
difficult
has
java
kingdoms
two
war
3 Votes
3 Réponses
8th Mar 2017, 9:47 AM
priyanshi srivastava
why doesn't making line 4 " if i == 2 or 3:" cause the output to be 1 skipping 2 skipping 2 4 ... ?
loops
python
0 Vote
3 Réponses
17th Aug 2016, 2:11 AM
Coleman Alexander
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
4
5
6
...
10
Suivant >
Aujourd'hui en vedette
X velocity
3 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
Python IDE
0 Votes