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
Hi, Just got back into python after 2 months of learning other stuff. Im getting an error on line 77. Pls help.
help
methods
please
python
thanks
2 Votes
3 Réponses
9th Feb 2017, 1:13 AM
StaticComs
Write a function which takes a number as argument and calculates its cube. If no no.is entered, then it calculates the cube of 2
python3
0 Vote
3 Réponses
12th Dec 2020, 8:18 AM
Kashish Juneja
Commenting code is like cleaning yo bathroom,u never want 2 do it, but it creates a pleasant experience for you and your guests
code
dk
fact
sololearn
4 Votes
3 Réponses
24th Nov 2016, 3:06 PM
David Kariuki
Your robot can recognize your emotions marked with number that represents each of them: 1 - You are happy! 2 - You are sad! 3
none
3 Votes
2 Réponses
6th Dec 2021, 4:13 AM
riddhi malviya
Wrote a code to multiply 2 matrices to form a new matrix which will be the product of those matrices.
css3
html
javascript
0 Vote
1 Réponse
22nd Oct 2021, 3:04 PM
Muhammad Naeem Jangda
Help me to solve this. I have almost done. But 2 out of 5 test cases are failing, which are hidden. I don't know y.☹️
coach
code
cost
paint
python
0 Vote
5 Réponses
18th Oct 2020, 9:17 AM
CHAKKA VENKATA NAGA SAI JYOTHIRMAI
Python provides an inbuilt function 'print' which h automatically generates a line break when it is called, then how can we generate a pattern as : 1 2 2 3 3 3 4 4 4 4 and so on.. using while loop ???
python
0 Vote
2 Réponses
18th Oct 2016, 8:27 AM
Piyush Bhatia
Can anyone tell me what the problem with my code here?? It is a simple java program that calculate the sum of 2 rational numbers
arithmetic
data-types
java
operators
variables
0 Vote
6 Réponses
18th Sep 2021, 6:49 AM
Maryam Magdy
why there us not a single method for values to round up there are 2 methods floor and ceil
java
math
0 Vote
1 Réponse
20th Oct 2016, 9:19 AM
Onkar Ashok Gumate
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
I typed the svg sample codes (html course) on my pc. But only 2 codes showed up in my output. Animations didnt work at all. Why?
animation
bug
help
problem
svg
1 Vote
7 Réponses
30th Mar 2022, 6:12 AM
Djessie
[challenge] -given 2 integer .Find the position of the right most bit in which they differ in their binary representation.
challenges
2 Votes
1 Réponse
17th Dec 2017, 6:47 PM
S O U ✌️ I K
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
Is it possible to divide a string into 2 equal parts (of course if its length is an even number) in C++?
c++
strings
0 Vote
2 Réponses
22nd Aug 2019, 9:59 AM
Yavor Hristov
An array of random numbers from n elements is given. Print the numbers in the index of which there is a number 2 .
python
python3
-2 Votes
3 Réponses
5th Apr 2022, 4:15 PM
Gulnur
What should be the minimum time to be a advanced programmer, if I code 2 hours daily? I really want to feel the thrill😊
c
programming
1 Vote
4 Réponses
20th Sep 2020, 2:48 PM
Meraj Hossain Promit
How to make an interactive navigation that will unlock ex. lesson 2 if done with lesson 1? It's like creating progress.
html5
javascript
jquery,
0 Vote
3 Réponses
5th Jun 2017, 5:30 AM
CJ Avila
Someone could help me, I want you to concatenate the first 2 characters of each of these 3 strings, I attach my program
c
0 Vote
3 Réponses
25th Aug 2021, 4:50 AM
kevin josuè mondragon nuñez
Coding Language Learning Choices. (SOLVED)
2
apps
back-end
coding-langueges
front-end
game
mobile-application
1 Vote
3 Réponses
27th Mar 2024, 10:08 PM
Emberlee Tatum
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
trying to write code for a function using dollar amounts with an operation only want 2 decimal places to show on output
c#
0 Vote
4 Réponses
21st Jul 2016, 3:26 PM
Kenneth Welch
Can anyone explain to me why the result of that condition is 2 in the code below ? It doesn't make any sense to me
javascript
js
website
1 Vote
5 Réponses
21st Feb 2020, 7:02 AM
Ömer Ayhan
Swap 2 Nibbles in a byte & find the output of the swapped Nibbles after converting a Decimal Number to a Binary Number.
javascript
python3
0 Vote
2 Réponses
23rd Jan 2020, 3:22 PM
Prithvi
Hello everyone. I just started my learning journey on SoloLearn. In fact I got the level 2 and I need advices to perform better✌
tags
2 Votes
3 Réponses
3rd Dec 2019, 9:20 PM
Tassilima DIALLO
Create a user definded datatype for representing real world object student in java world create 2 student objet with their value
corejava
1 Vote
2 Réponses
16th Feb 2018, 4:10 PM
Amresh kanungo
Wap to input 2 tuples A and B and print true if every element of tuple B else it returns false
python3
tuples
0 Vote
1 Réponse
24th Feb 2020, 12:25 PM
Rajat Srivastava
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
1 2 3 4 5 next line 6 7 8 9 next line 10 11 12 next line 13 14 next line 15
python3
0 Vote
3 Réponses
23rd Feb 2020, 6:30 AM
Avinash
Why does swap function from stl when used in selection sort increases the execution time from 19900 ns to 2 ,3 times much?
c++
2 Votes
2 Réponses
5th Oct 2020, 11:53 AM
Abhay
I want to use 2 size multidimentional array with the size that user would input . How can i do that ?
arrays
c++
0 Vote
4 Réponses
26th Oct 2016, 7:07 PM
JohnPond
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
Find the errors (There are 2 errors).Assuming words is a valid list of words, the program below tries to print the list in rever
python3
1 Vote
3 Réponses
23rd Dec 2020, 6:57 AM
Kashish Juneja
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
How to combine 2 or more numbers to get desired result ? (code is provided if you want take a shot)
array
data
date
js
json
time
2 Votes
1 Réponse
5th Mar 2018, 9:48 PM
Farhan Ullah
I would like to ask help from you guys. I failed 2 test cases which are hidden, I am having difficulty figuring it out.
python
0 Vote
3 Réponses
8th Sep 2022, 5:19 PM
Cris Tradio
To learn oop very well....is it enough to learn it in 2 days....or oop is dificult and i need more time to learn it well??
oop
python
1 Vote
3 Réponses
16th Jun 2018, 12:32 PM
Omar
Find the sum of first ten natural number 1 2 3 ...10 but the I m getting error please help thanks u
c++
1 Vote
3 Réponses
19th Oct 2016, 7:17 PM
kevink mahadeo
how to generate a list of infinite length containing all numbers made of 1 or 2 or both in ascending order?
python
1 Vote
2 Réponses
10th Sep 2016, 6:26 AM
Akhil Gaur
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
The output is the same as the test cases but it appears wrong. In chapter 2 of Java > Code Project > Loan Calculator
amount
java
loan
0 Vote
4 Réponses
6th May 2021, 10:24 PM
Ricardo Libron
I want to have a text in center and 2 texts on the same line on left and right side of that line
attributes
html
1 Vote
4 Réponses
22nd Oct 2016, 10:48 AM
Sam Samich
Do you know of python servers to run code continuously? Because my code has been running on my pc for 2 days ...
help
long
python
servor
0 Vote
3 Réponses
27th Apr 2021, 7:35 PM
Storm
I want to prepare a program taking 2 numerical inputs from the user for comparison and then showing the result.
else
If
python3
0 Vote
2 Réponses
3rd Feb 2017, 5:21 PM
Suneet Mehta
How can I make my first Java code work? I'm only level 2 but I want to make a countdown from 5 to 1 with an exclamation.
2
countdown
if
java
level
statement
string
0 Vote
5 Réponses
23rd Mar 2020, 3:29 AM
Johnna Boots
Can anyone write the logic to find if any number is power of 2 or not in a single line?? Lets see who wins
c++
challenge
java
logic
lol
operators
1 Vote
5 Réponses
2nd Sep 2017, 4:02 AM
Rohit Raj
I used a function to find the max between 2 numbers, what should i add to find max among 3 numbers????
c++
help!
1 Vote
2 Réponses
31st Jul 2017, 7:54 PM
RiGeL
for loop pattern in c! check this code
2
c
code
pattern
reduce
stars
0 Vote
3 Réponses
19th Apr 2017, 5:44 PM
Abrar Hussain
What is the difference between Angular js and Angular 2?
2
and
angular
between
difference
js
1 Vote
1 Réponse
30th Apr 2020, 3:09 PM
Komal Mishra
Write a C# console application program that will prompt the user to 1-3. Enter their name, lucky number 1 and lucky number 2
help
0 Vote
2 Réponses
20th Oct 2022, 8:35 AM
Ecnerual23
A Python code which takes 2 numbers x and y as input and generates a 2-dimensional numpy array where value in the i-th row and j
#2darray
#numpy
#python
0 Vote
6 Réponses
22nd May 2019, 2:44 PM
Suchith Chandran
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
37
38
39
...
44
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