Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Tarification
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
How to choose pivot element in quick sort ? if i took pivot = sequence[0] it gives recursion error
pivot
python3
quick_sort_algorithm
recursion
1 Vote
1 Réponse
26th Feb 2021, 5:14 AM
Hemant Kosrekar
Can somebody explain please, why this code gives an error, and what should one do to fix it, except to use int...
addition
byte
error
java
2 Votes
4 Réponses
2nd Jul 2017, 11:57 PM
Serhii Trachuk
The compiler gives error if any occurs...then how comes the run time error if compiler had already compiled ?
c++
0 Vote
3 Réponses
26th Jul 2017, 3:04 PM
Sabareeswari Mariappan
stack java frame collection could not work idk why it gives me error cannot take type stack parameter stack java frame
code
java
stack
1 Vote
1 Réponse
22nd Dec 2022, 9:51 AM
Khushi
Friends anybody answer this question? In this app gives what an( hint) option. Anybody can help me
c++
cout
1 Vote
1 Réponse
25th Feb 2017, 5:42 PM
Aravinth kumar
@Sololearn pls solve this bug 🐛 it gives me 1xp after every victory of Java weapon and10 for other languaes what's the problem?
it
java
sololearn
weapons
0 Vote
6 Réponses
27th Sep 2017, 1:07 AM
Zohrab Alexanian
print(int(input("Enter a number: ")) + float (input("Enter another number: "))) why this code gives float type output?
python
type-conversion
0 Vote
1 Réponse
10th Jun 2018, 1:59 PM
Sathya R
Write a program that gives us no. Of 1's and 0's when we enter a decimal no?
c++
-3 Votes
2 Réponses
24th Oct 2017, 9:27 AM
Rashid Nazeer Khan
Why we can't write x=z it give error when we write x=z but when we write z=x its gives no error
javascript
3 Votes
2 Réponses
15th Oct 2017, 6:56 AM
Arpan Kanwer
Can any body tell me what this "^" does in a program.For example 60 ^ 40 gives me 20 when I run it
c++
1 Vote
2 Réponses
28th Jun 2022, 3:12 PM
NS MICHAEL
I need help! The code above gives me the exacte result but it cant be passed cause its undefined I dont why
ecmascript6
es6
javascript
0 Vote
3 Réponses
29th Oct 2021, 2:18 PM
Anoir B'f
please help me with this ,this program ive written gives no output when i call it. i am a beginner in python so please help me.
python
0 Vote
7 Réponses
2nd Sep 2018, 3:08 PM
Alpesh_Jamgade
guys i m trying to make a program which gives the percentage of each letter in a word...but its not working as expected..
sololearn
strings
1 Vote
3 Réponses
3rd May 2020, 1:30 PM
PRO
It gives an error in the "Fasten Your Seat Belt" application during the "Controlling the Flow" phase of the Python {Solved}👌
ai
code
coding
error
everyone
help
introduction
python
1 Vote
2 Réponses
7th Aug 2024, 3:32 PM
DarkBetrayer
Program to take input and gives output but stop processing input after reading in the number 42.check whether my pro is correct?
c++
0 Vote
4 Réponses
13th Nov 2016, 2:27 PM
Rishabh rick
Please.. I am having issues parsing this code. I don't seem to understand how the output gives []. Can anyone explain to me?
functions
lambdas
python
0 Vote
3 Réponses
25th May 2018, 9:00 AM
IKECHUKWU, GAVIN C
how do i wrote program that gives you minimal number of knight moves from knight coordinates, cell, coordinates, and board size?
help
python
-1 Vote
2 Réponses
2nd Nov 2022, 5:15 PM
Lakarov
in lesson magic method on python, examples in my idle gives error please help, it confused me? i cant write codes from there
__init__
3 Votes
3 Réponses
9th Apr 2017, 6:32 AM
Nasibillo Muhamedov
The if and else statement I run wont give me the expected results...rather it saves and gives an invalid statement......why?
else-statements
python
0 Vote
3 Réponses
27th May 2017, 9:13 AM
Abel Linus
Please i cant understand why this code doesn't run when I choose 2(-) as my operator but instead gives a 'num1' not defined
python
1 Vote
3 Réponses
4th Jul 2020, 10:53 AM
Ibrahim Phenom
How do i PRINT any method i want from a class ?? Whenever i try it just gives me it's location in memory i believe.(
python
0 Vote
4 Réponses
22nd Aug 2023, 4:56 PM
Intermediate Depression
i made a program which gives a cross pattern of symbol (*) as a n output in 5 rows and 5 columns. what's the error here?
cpp
cross
pattern
symbol
0 Vote
5 Réponses
11th Jan 2020, 5:06 PM
Ariz imam
Who can help me on the code solution for how to write the code for BMI (body mass index) where the result gives the body type
hdh
0 Vote
5 Réponses
27th Nov 2021, 9:57 AM
VICTOR NSENGIYUMVA
When you want a sentence as output,why do both <p></p> and even nothing gives sentence as an ourput
html
parag
0 Vote
1 Réponse
28th Sep 2019, 8:37 AM
Soham Shinde
How to take input at run time on python ? I'm always used static variable , i want user gives the input in python
data-types
python
2 Votes
4 Réponses
22nd Feb 2017, 7:57 AM
suneel singh
Hi.....whenever I try to run my code it gives me exactly what's on the editor and not as the example given
html
0 Vote
2 Réponses
29th Jul 2020, 2:19 AM
Oteroghogho Orugbo
if _name_ == "_main_': <do something> This code gives error massage NameError: name '_name_' is not defined Please help me with the right code
python
0 Vote
5 Réponses
25th Dec 2016, 2:25 PM
Biswascoder
Now I am pretty close to finishing HTML courses, so I want to ask if Sololearn gives exercises after that?
css3
html5
website
0 Vote
1 Réponse
1st Aug 2022, 10:10 AM
Marouane Izoumaz
I wrote this code at the pig latin challenge it gives the same result as the one that the callenge provides yet it doesn't pass
c++
0 Vote
2 Réponses
15th Apr 2021, 7:38 PM
Dareen Moughrabi
I wrote a new def func code with two arguments but it gives error . i inserted the code here. can any one tell me the problems?
programming
python
sololearn
2 Votes
5 Réponses
4th Jun 2018, 9:54 AM
Saeed Mozaffari
What does it mean when it tell me "look like your program needs input", then gives me an error when I try to run the program
phython
0 Vote
5 Réponses
20th May 2019, 9:44 PM
Mike Harris
hi can someone write me a code that gives out 4 sets of numbers produced randomly in c++ using the rand operator....
java
math
1 Vote
3 Réponses
9th May 2017, 11:03 AM
robert kiprotich
Hello im running code in my pc i have 3.5 version of python its still gives error in print
loops
python
1 Vote
1 Réponse
10th Aug 2017, 5:19 PM
Shivansh Nayak
Everytime I use two inputs in the same code the second one gives and error message. Am I doing it wrong?
phyton
phyton3
0 Vote
2 Réponses
13th Oct 2022, 9:38 PM
Ogunmolu Dipo
Is there other app like solo learn gives free online learning with out any payment ineed other course for study with out program
<p>....</p>
0 Vote
2 Réponses
7th Apr 2020, 10:55 AM
Abinet Sintayehu
How to run python prog sublime? I pressing "ctr+B" and it gives error I choosed in seetings 'tools /build system/py. Help bros
editor
python
1 Vote
2 Réponses
28th Jul 2018, 4:42 PM
Saidusmon Saydaminov
Hello fellow coders...Can anyone help me..i created my JSP page inside netbeans and runs it but all it gives is not found status
,.........
1 Vote
2 Réponses
19th Jun 2019, 8:37 AM
Obed Maob
Can someone please help me understand how the last quiz on break and continue gives an out put of 16
javascript
loops
0 Vote
2 Réponses
8th Feb 2017, 5:10 AM
Raymond Muyuka
When I run this script, it only outputs the first if statement and not the other elif statements, and gives E0F Errors... HELP
cpython
python
python3
0 Vote
3 Réponses
1st Jan 2020, 4:39 AM
Hawk Strattus
I need help to create a program where he first ask you "What's your name?: " and then it gives you as output "Hello (name)"
input
java
0 Vote
5 Réponses
8th Jan 2018, 5:57 PM
Alessandro
Why this code is printing whole string?. When we write string or int in place of char datatype then, it gives us address why?
array
character
cpp
0 Vote
3 Réponses
21st Apr 2022, 5:17 AM
Muhammad Talha Atif
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
Why can't we assign a variable in python like this it gives an error, example : myvariable = 052
python3
1 Vote
1 Réponse
20th Jan 2018, 5:05 AM
Akshay Patil
A Hacker is built on oneself. But training to become an IT Professional gives one a 30% chance of being a Hacker. Is it true?
assembly
c#
c++
html
java
javascript
php
python
ruby
sql
1 Vote
2 Réponses
30th Oct 2018, 10:53 AM
Ebonam Ifesinachi
Suppose in the below code I give a float value of 5.6 ,when executed gives 5.59999999968 ,I mean It give a value very nearto 5.6
java
0 Vote
3 Réponses
8th Sep 2020, 2:17 PM
RuntimeERROR
I'm using a formula to calculate the sum of a geometric list but no matter what I do it never gives me the right output.
numeric-operations
operation
order
python3
1 Vote
3 Réponses
18th Dec 2018, 6:44 AM
albr3cht
Why below code gives wrong ans with input of 100 & .0005 while the ans for input of 1000000 & .0005 is absolutly Ok
ans
c++
loops
wrong
0 Vote
4 Réponses
28th Mar 2017, 3:33 AM
Pawan Jain
Can anyone explain why this code always prints "True" yet changing it to int or str only always gives "False"?
boolean-logic
comparison,
0 Vote
2 Réponses
9th Apr 2017, 5:17 PM
Callum Rogers
I cant make exe file from python? downloaded py2exe, cx.freeze, but evev after writing code, in command prompt gives error or
command
is
not
python
says
write
-1 Vote
3 Réponses
23rd May 2017, 10:31 AM
Nasibillo Muhamedov
Even if I don't add a 'return' statement, the program still runs and gives same output. Can anyone pl explain the difference?
return
1 Vote
2 Réponses
2nd Nov 2016, 7:37 AM
Samyak
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
8
9
10
Suivant >
Aujourd'hui en vedette
Need a personal tutor
1 Votes
I can't figure out how to use the getElementById code in JavaScript Code Playground, I've tried multiple times and watched YT
0 Votes
Fix code
0 Votes
..
1 Votes
How can I turn my .py files to .exe files?
1 Votes
Software to write and run codes
1 Votes
How Much RAM is Required for Object Detection Project
0 Votes
Add lua
0 Votes
How to learn C++ and how long does it take
1 Votes
Summary please??
0 Votes