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
How can we merge two list so that it includes all elements of list 1 and only elements from the list 2 which are not in list 1.
lists
merge
python
4 Votes
1 Réponse
21st Jan 2018, 3:23 AM
Rahul Dwiwedi
Increment question
;
+
=
$x
$x++
2
7;
echo
2 Votes
1 Réponse
8th May 2019, 5:24 PM
Charles Nduka
How to produce random sets of 2 or 3 numbers in JS or JQ ? Or is there any other way ?(All the numbers must lie between 1 and 6)
css
games
html
javascript
jquery
0 Vote
4 Réponses
2nd Jul 2020, 9:32 AM
Yashvardhan Singh
In c++ how would I create a code where If I press 'A' in the input, it then output '1' and for 'B' 2 and so on
h
0 Vote
2 Réponses
7th Nov 2022, 8:21 AM
Sarel
I am very weak in programming and have exams after 2 months plzz suggest tje tips to learn so i can pass the exam what to do?
2
after
am
c++
exams
have
help
i
in
months
please
programming
to
very
weak
what
0 Vote
3 Réponses
28th Dec 2016, 4:25 AM
Atharva Kulkarni
fill in the blanks to create a loop that increment the value of x by 2 and print the even values. x=0 _x<=20: print(x) x+=2 pls help me out
loops
python
-1 Vote
5 Réponses
2nd Sep 2016, 6:12 PM
anthony
Why it prints 3 times instead of 4? I thought it will print 5, 4, 3, 2 so it's 4 times, right? Can someone explain it to me? Thanks
loops
python
1 Vote
4 Réponses
11th Aug 2016, 10:27 PM
Faizal Khilmi Muzakki
Can I know where I am going wrong in the code because out of 5. 3 are correct and 2 are wrong. It’s snail climb project.
javascript
0 Vote
1 Réponse
5th Sep 2022, 5:45 PM
Joshua Nochina
Hi guys i am learnin html on solo learn but i can't go next level on level 2 , it says more version avalible on this app but i
html
2 Votes
3 Réponses
6th Jan 2018, 4:33 PM
TheLevitationQ
How do I make a program that shows the numbers of even numbers from 2 to 50 in descending order, not including 10 or 40
java
loops
numeric-operations
nunbers
0 Vote
2 Réponses
31st Oct 2017, 12:30 AM
Anthony
assume user can input 2 integers, let it be (15,3) so we have to print all the possible sums of 3 digits which equals input1(15)
java
logic
0 Vote
2 Réponses
11th Jul 2017, 2:01 PM
Jay Parekh
The snail climbs up 7 feet each day and slips back 2 feet each night. How many days will it take the snail to get out of a wel
help
it
me
solve
-1 Vote
3 Réponses
28th Sep 2022, 1:28 PM
Ebube Uwadia
How many computer languages existing in computer science?
1
10
2
3
4
5
6
7
8
9
4 Votes
4 Réponses
17th Apr 2019, 12:25 PM
$~James~$
Is this real right now I'm a level 2 and this is how many points I am from level 3: 149xp to 149xp. What level are u?
xp
1 Vote
2 Réponses
1st May 2017, 12:24 PM
Clash_om
a = 2 + float("3") b = 5 c = a == b print(c) why is python silently converting 'b' into a float 5.0 in comparison '==' operatn
booleans
0 Vote
2 Réponses
26th Mar 2018, 9:24 PM
PyDiv()
ValueError: invalid literal for int() with base 10: ''
[
]
@
+92
2
active
ago
days
ikass
0 Vote
5 Réponses
29th May 2020, 2:40 PM
Daniele Baldoni
Trying to code triangle numbers from 4 ie 4 + 3 + 2 + 1. Why does it not work with the while loop. Appreciate your comments...
recursion
recursive
trianglenumbers
0 Vote
2 Réponses
16th May 2021, 4:32 PM
Grandad
Why in HTML there is 2 types of tag <b> and <strong> whether there meaning is same that is to bold the word or sentence?
html
0 Vote
1 Réponse
17th Mar 2018, 1:28 PM
Aniket Shaw
write a java script function to get all possible subset with a fixed length ( for example 2 ) combination in an array. sample ar
java
-1 Vote
1 Réponse
15th Dec 2016, 9:00 PM
Nashwan Aziz
Why does my if else statement not execute with addition if the user input is [c = +, a = 2 & b = 3]
#beginner
#ifelse
#java
0 Vote
1 Réponse
29th Dec 2017, 1:51 AM
Nibras Alam
write a java script function to get all possible subset with a fixed length ( for example 2 ) combination in an array. sample ar
javascript
-2 Votes
1 Réponse
17th Dec 2016, 6:43 PM
Nashwan Aziz
I have an excel sheet containing 2 columns .ex of first column[sil th ih s sp m ae n sp] I want to convert this first co
c#
0 Vote
2 Réponses
11th Mar 2017, 8:45 PM
Doaa Mohamed
I want 2 scan age directly n place that in if statement. (Input of age have to place in age in if statement).can any1 correct me
else-statements
if-statements
java
0 Vote
2 Réponses
29th May 2017, 1:38 PM
Priya Prathi
Why is this code not running ???
2
c++
compilation
equations
error
in
linear
variables
0 Vote
2 Réponses
23rd Jun 2018, 5:46 PM
Kanishk Mewal
Could anyone tell me why the 1st result is 2 while the 2nd result is 2.5? I mean why the1st one is and integer and the 2nd float
c++
help!
3 Votes
1 Réponse
9th Aug 2017, 8:51 AM
RiGeL
What will be the output of the following my_dict = {} my_dict[1] = 1 my_dict['1'] = 2 my_dict[1.0] = 4 sum = 0 for k in my
tell
-3 Votes
3 Réponses
28th Jan 2022, 7:49 AM
Sampada Sharma
any1 kno how 2 view .jar code of apps on a droid fone, not downloaded apps but the apps that originally come w/ fone, no root
android
code
root
source
0 Vote
2 Réponses
16th Mar 2017, 9:37 PM
Escobar
in sql database how to map data of 2 table ..1 common field but in one table its data type is 111111A and in other 111111 only
sql
0 Vote
2 Réponses
22nd Nov 2016, 4:10 PM
Chander Mani
What is the role of array capacity in java? In the below code i set array capacity to 2 there are 4 array is defined & no error.
arrays
java
1 Vote
2 Réponses
7th Feb 2017, 1:16 AM
Sahil
const string = `something ${1 + 2 + 3}` const string2 = `something ${foo() ? 'x' : 'y'} ` // what is the output and how ?
javascript
programming
0 Vote
1 Réponse
9th Mar 2020, 10:45 AM
Anas
Please why is it not running in the solo play ground?.....but it runs in python 2 and 3 on my system but not here.....am a novic
python
1 Vote
1 Réponse
27th Aug 2017, 7:24 AM
AYODELE S. ADEBAYO
C# What's the best way to make a table with 2 columns and more than 20 verses in which one column is string and second int.
c#
0 Vote
1 Réponse
29th Jul 2017, 5:41 PM
Daniel Włudarczyk
Fill in the blanks to create a loop that increments the value of x by 2 and prints the even values. x = 0 x <=20
loops
python
-2 Votes
1 Réponse
29th Apr 2020, 4:08 PM
Salman farooq
Write a program that reads 2 # call them n and m. Compute the nth fibonacci # and the mth fibonacci # and find the gcf
challenges
python
question
-1 Vote
1 Réponse
23rd Jul 2017, 2:52 AM
cole
Write a python program to print the sum of all odd numbers from 1 to 100.
"b"
"c")
("a"
(1
=
2
3)
tuple1
tuple2
tuple3
-5 Votes
7 Réponses
12th Oct 2020, 2:39 PM
wherearetheavocados
WAP in c++ a class name item that contain 2 variable and cost in pvt sec & put and create a obj in main print no. Of cost
c++
classes
function-arguments
functions
generators
objects
print
public
0 Vote
1 Réponse
18th Jun 2021, 3:20 AM
Kartik Yadav
If I am to choose OOP language which 1 would you encourage me 2 go for.. Java, c++ or c# ? N why would you recommend me 2go4it
c#
c++
java
1 Vote
2 Réponses
15th Jan 2017, 2:29 AM
shebby clement
pls write a program to input 2 nos. and tell whether they are twin primes or not... save it and tell me the code name I will have a look at it.
c++
-2 Votes
7 Réponses
15th Jul 2016, 2:43 PM
Siddhant Saxena
>>> def even(X): ... if X % 2 == 0 : return True ... else: return False ... >>> filter(even, [0,1,2,3,4,5,6]) [0,2,4,6] How to get that output, help please...
python
0 Vote
3 Réponses
14th Sep 2016, 11:07 PM
Vinh Le
The snail climbs up 7 feet each day and slips back 2 feet each night. How many days will it take the snail to get out of a wel
c++
0 Vote
1 Réponse
28th Dec 2021, 9:22 PM
Abdelbaset Mohamed
So what is the size of an int? In the Console it says 4, but on the Summary it says 2 ( for standard int, not short)?
c++
sizeof
0 Vote
2 Réponses
4th Apr 2016, 3:18 PM
Patrick White
how to solve project 2 in java Q2 is U take a loan from a friend and need to calculate how much u will owe him after 3 months.
.
0 Vote
2 Réponses
13th May 2021, 8:43 PM
yitbarek mulugeta
If u get a input from.user for example 4 and want to generate a loop of even numbers if u generate numbers like 2,4,6,8 then how
2
a
example
from
get
if
input
u
user
1 Vote
3 Réponses
10th Jun 2018, 12:58 PM
Hassan Abbas
Let's say I have this list a= [1 2 3 4] is it possible to convert it to a normal comma separated list like this a = [1, 2, 3, 4]
lists
python
0 Vote
4 Réponses
8th Nov 2017, 3:08 PM
thanos moraitis
Const arr1 = [a, b, c, d,] const arr2 = [e, f, g, h,] arr3 =______ can u help me merge arr1 and 2 to make arr3 from a-h
constants
0 Vote
1 Réponse
26th Nov 2019, 10:22 AM
Samuel Ikenta
How to split up user's input? For example, user gave an input 27, I want to split 2 and 7 and add them to get answer as 9. How could I write program for this?
python
0 Vote
7 Réponses
26th Sep 2016, 2:03 AM
Vishal Lagoo
sir im in university after two days my test in programing bt i im not b able to nake prgrm of arithmetic operation of 2 nmbrs ?
c++
0 Vote
1 Réponse
4th Jan 2017, 8:23 PM
kamirkhan
I noticed that normally, there is only one main <nav> block in the header for a web page. Is it allowed to put 2 <nav> blocks in
html
html5
1 Vote
1 Réponse
12th Sep 2016, 1:57 AM
Ying
Is this the only way to seperate 2 inputs and add them together? I would of liked to do this in one print but a string brakes it
input
int
java
string
then
unstring
0 Vote
2 Réponses
24th Jun 2017, 5:46 PM
Uni Verse
can anyone help me? what is the code, for example, when the input is 1 foot and the output is 12 inch.? and 2 feet = 24 inches?
c++
0 Vote
2 Réponses
16th Nov 2016, 10:24 AM
kenn lingcay
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
42
43
44
Suivant >
Aujourd'hui en vedette
Someone can help me
2 Votes
X velocity
0 Votes
Files not linking in C++
0 Votes
I am a super beginner
0 Votes
I want to make a triangle area calculator ,anybody can teach me
2 Votes
Web Dev
0 Votes
Img & web server or personal info
0 Votes
Pls give me an idea
1 Votes
How this program executes?
0 Votes
How to achieve "Sololearner" achievement?
0 Votes