New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Hey please help me to correct this code! Why it gives wrong output. the same code i wrote for java which runs perfectly
js
1 Vote
5 Answers
14th Nov 2018, 1:10 AM
{ sood(Hemant , Prakash); }
Can you give an example of a simple code in C which gives different outputs with different compilers?? Anyone,,,
hello
0 Votes
2 Answers
17th Sep 2018, 10:21 AM
piyush damor
Guys help me code a program in python which takes in a set of letters and gives output with as many english words as possible
python
python3
1 Vote
5 Answers
20th Apr 2019, 5:27 AM
Akhil Padmanabhan
When i try to make a function in private and define it outside class it gives me error why so??
c++
0 Votes
4 Answers
24th Dec 2017, 6:57 AM
Prarthit Mehra
Why, when I input 42 to the circle constructor the area gives me 5541.769440932395 while the correct answer is 5541.769440932396
abstractclass
inheritance
java
oop
1 Vote
1 Answer
27th Dec 2022, 10:34 PM
Genniell Vergaray
java code 1st line of input as +ve numerator in the fraction 2nd line as +ve denominator and gives quotient as output
code
java
remainder
0 Votes
3 Answers
4th Dec 2021, 3:01 AM
Tejaswini .M
can't write code in here.. it gives weurd problems that shouldn't be. like the name 'console' does not exist /:
c#
code
codeplayground
0 Votes
4 Answers
28th Aug 2016, 5:10 PM
Maor
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 Answer
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 Answers
2nd Jul 2017, 11:57 PM
Serhiy Trachuk
The compiler gives error if any occurs...then how comes the run time error if compiler had already compiled ?
c++
0 Votes
3 Answers
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 Answer
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 Answer
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 Votes
6 Answers
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 Votes
1 Answer
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 Answers
24th Oct 2017, 9:27 AM
Rashid Nazeer Khan
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 Votes
3 Answers
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 Votes
7 Answers
2nd Sep 2018, 3:08 PM
Alpesh_Jamgade
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 Answers
28th Jun 2022, 3:12 PM
NS MICHAEL
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 Answers
3rd May 2020, 1:30 PM
PRO
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 Votes
4 Answers
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 Votes
3 Answers
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 Answers
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 Answers
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 Votes
3 Answers
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 Answers
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 Votes
4 Answers
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 Votes
5 Answers
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 Votes
5 Answers
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 Votes
1 Answer
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 Answers
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 Votes
2 Answers
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 Votes
5 Answers
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 Votes
1 Answer
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 Votes
2 Answers
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 Answers
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 Votes
5 Answers
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 Answers
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 Answer
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 Votes
2 Answers
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 Votes
2 Answers
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 Answers
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 Answers
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 Votes
2 Answers
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 Votes
3 Answers
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 Votes
5 Answers
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 Votes
3 Answers
21st Apr 2022, 5:17 AM
proGAMBLER
Explain how: if not True: print("1") elif not (1 + 1 == 3): print("2") Gives the output as 2
boolean-logic
python
0 Votes
1 Answer
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 Answer
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 Answers
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 Votes
3 Answers
8th Sep 2020, 2:17 PM
RuntimeERROR
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
8
9
10
Next >
Hot today
Quick question in language C... 🤔
0 Votes
CSS TRANSITION
1 Votes
Can anyone help me to implement the fifo method in this queue of picture boxes?
0 Votes
Front-end or Back-end
0 Votes
Is there a better app than Sololearn for Python?
0 Votes
Related to Tuple and list
1 Votes
Code suggestions
0 Votes
Looking for miniproject ideas, what should I do?
0 Votes
any sites to get certificates for free?
0 Votes
How to fix my code
0 Votes