Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
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 Answers
4th Mar 2019, 7:49 PM
[ ]
I would like to know how to use an interval in the switch loop. For example take age between 1 and 9 using the switch loop.Thank
help
0 Votes
8 Answers
22nd Nov 2017, 8:50 PM
SEDGO Prosper
In java course in loop concept in factorial program there is a bug in test condition 1 in expected output having wrong value.
bug
java
sololearn
0 Votes
2 Answers
15th Mar 2024, 10:52 AM
JAGMOHAN SINGH MALHI
In this code what is the idea of max_index = len(words) - 1 ? Could someone explain this code step by step please?
loops
python
0 Votes
2 Answers
23rd Nov 2019, 11:51 AM
Esteban Rueda
who can help : menu with 2 options: 1 log in and 2:change pasword,if introduce pasword 3 times wrong program will close
c#
1 Vote
2 Answers
11th Dec 2016, 9:06 PM
Lawrence BTL
What the process going on to printing the value 1 . Not(not x or not y and x or not y)
cpp
sololearn
0 Votes
1 Answer
16th Sep 2020, 12:05 PM
Suparna Podder
I need to write a program to Take a number N as input and output the sum of all numbers from 1 to N (including N).
forbeginners-
python
0 Votes
4 Answers
27th Jan 2022, 6:26 AM
Artin !!!
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 Answers
2nd Sep 2016, 2:56 PM
suji prem
Write a program in java whereas no is even or odd and print only third even no.from 1 to 20 counting of number
main
void
-5 Votes
4 Answers
10th Jul 2019, 7:50 PM
DOLAT RATHORE
how can i write 1 times 1, 2 times 2 , 3 times 3 in page with for loop? for example (1223334444)
c#
c++
1 Vote
2 Answers
8th Sep 2017, 8:48 AM
Oฤuz Gรผven
Everything is fine in this code but when I am choosing choice number 1 it is showing invalid choice I feel so irritate now
c
case
switch
0 Votes
3 Answers
5th Jun 2022, 2:31 PM
Sunilsingh Nagarkoti
9% (7//2)=1 i am not understanding when there is reminder is 1 of 7 by 2 then how its coming one with 9 ??
numeric-operations
python
1 Vote
4 Answers
3rd Jan 2017, 4:49 AM
Harsh Ranjan
Please help me with this game, the level is increasing. ๐๐๐ I want it to increase by 1 each time the ball is empty. Thanks
canvas
javascript
0 Votes
3 Answers
19th Jul 2020, 10:42 AM
Abat
Hi sololearn friends i am totally a biginer on web design i love it but lately i found some issues just like the 1 am gone ask..
css
html
issues
sidebar
submenu
webdesign
1 Vote
6 Answers
22nd Sep 2020, 8:37 PM
Eyob Kurabachew
words = ["hello", "world", "spam", "eggs"] counter = 0 max_index = len(words) - 1 while counter <= max_index: word = words[
loops
python
-1 Vote
2 Answers
29th Jan 2017, 7:09 PM
kumar badal
Write a program that inputs an integer in range 0-999 and then print if the integer enters is 1 1/2/4 digit number ?
python
0 Votes
2 Answers
9th Feb 2021, 2:06 PM
Monika Kumawat
Boolean logic 2 for python core. Create a program that outputs whether a store is open or closed. I got all test cases except 1
boolean
case
help,
hidden
logic
test
0 Votes
3 Answers
2nd Jan 2022, 5:08 PM
Jamison McKinney
The data for batting and it is related to module package: 1- for 1 point in 2 runs,2- for half-century additional 5 points
loops
modules
packages
python3
2 Votes
1 Answer
31st Jan 2020, 3:32 AM
Utsav Singh
Make a Number puzzle by using 1 to 9 numbers without repetition and the sum of three boxes will be only 15. Use 9 boxes.๐๐๐๐
generator
puzzle
2 Votes
2 Answers
23rd Jun 2018, 2:22 AM
Chandu Vadde
ย ะะฐะฝะพ ะฒะตัะตััะฒะตะฝะฝะพะต ัะธัะปะพ โ ัะตะฝะฐ 1 ะบะณ ะบะพะฝัะตั. ะัะฒะตััะธ ััะพะธะผะพััั 1.2, 1.4, โฆ , 2 ะบะณ ะบะพะฝัะตั. ะฝัะถะฝะพ ั ัะธะบะปะพะผ do while
c#
0 Votes
1 Answer
23rd Mar 2018, 6:26 AM
ะะธะบัะพัะธั
Isn't the line 1 and line 4 means the same that is in *ptr and hello both contain manash so why hello runs but *ptr doesn't?
c
0 Votes
4 Answers
3rd Nov 2021, 11:03 AM
Manash Anand
If opponent doesnot play code in 1 day, then will we win the match or the match will draw? Or both will not get XP?
code
learn
play
sololearn
2 Votes
2 Answers
6th May 2020, 5:07 PM
Santosh Kumawat
Crear un programa que genere numeros impares de 1 al 20 y los muestre en pantalla; ademas deberรก calcular la duna y el promedio
c++
0 Votes
2 Answers
28th Feb 2022, 3:00 PM
Rick Pudinng
You are making a program for a chess tournament that needs to calculate the points earned by a player. A win is worth 1 point,
c#
cs
0 Votes
2 Answers
26th Jan 2024, 9:37 PM
Rosa Vo
Quien me podria ayudar con un codigo de combinaciones posibles del 1 al 41. Quiero ver cuales son esas combinaciones posibles
python
0 Votes
1 Answer
8th Feb 2019, 7:18 PM
jhohan magin
Hi. Can someone please explain me what does it code mean in python. def section(request, num): if 1 <= num <= 3: return HttpRes
django
python
python3
-2 Votes
3 Answers
14th Jul 2021, 10:39 PM
kamoyak
Is there python 3?
1
2
3
beginner
courses
developer
python
1 Vote
6 Answers
4th Jul 2024, 7:15 PM
Mohammed Izz
Why we can define the font weight property with a number from 100 (thin) to 900 (thick) and not 1 to 100 ?
code
css
css3
help
html
html5
web
1 Vote
1 Answer
17th Jan 2020, 9:36 PM
Ambitious Coder
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 Votes
12 Answers
7th Jul 2017, 5:17 PM
Rashi Walia
Doesn't the number satisfy both condition 1 and 3 (num > 3, Num ==7) then how does it only display 3?
if-statements
python
-2 Votes
3 Answers
9th Jan 2017, 10:34 PM
John Sitther
Wrote the code right but getting ExampleProgram.java: error: missing return statement } ^ 1 error in commant prompt what to do?
java
-1 Vote
2 Answers
18th Aug 2016, 8:13 PM
Chahat Gupta
How can I write code to request lots of data from an API with a limit of 1 query per second? Should I use a loop and setTimeout?
api
java
javascript
mysql
python
python3
ruby
scripting-languages
sql
0 Votes
7 Answers
15th Aug 2020, 11:05 PM
Rhea
Hi guys.... What am I missing on my code.i want to return 1 if all the numbers are divisible by two and return 0 if not all
divide
1 Vote
7 Answers
27th Feb 2017, 4:30 PM
Ricardo Chitagu
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 Answers
10th Sep 2018, 5:09 PM
Shivyaaa
Table from 1 to 10 finding some error in output it it's priting some useless numbers between 1-3 instead of printing 2. Solve it
c
0 Votes
2 Answers
23rd Sep 2022, 3:11 PM
Venom
Get n list and compare the values inside if the numbers are same then you have to count 1 if not then return -1
c
java
python3
0 Votes
2 Answers
24th Aug 2022, 1:21 PM
pooja balamurugan
Write a program that will ask for 5 numbers from the user and if the number is present in array the function should return 1
c++
0 Votes
5 Answers
31st Jul 2017, 5:43 PM
Vicky
Suppose you draw three dices(using integers 1 to 6). Print all possible cases that the sum of them is equal to 10.
loop
0 Votes
1 Answer
17th Oct 2019, 7:01 AM
Okhunjon Mamajonov
How can Plot the graph of INR exchange rate against EUR from 1 Jan 2019 to 31 Jan 2019 in java got confused
https://www.sololearn.co
0 Votes
2 Answers
19th Jul 2020, 9:35 PM
Vaibhav Dhale
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 Votes
5 Answers
23rd Mar 2020, 3:29 AM
Johnna Boots
a program that takes the integer (n) as positive and prints the sum of prime numbers greater than 1 and less than n as output
python
0 Votes
2 Answers
26th Dec 2020, 12:16 PM
a.m
In a program when we declare 1 array and one variable. Then the address of variable will be next to to the array or not
c
0 Votes
4 Answers
10th Apr 2020, 1:48 PM
User..
Write a C program using functions to calculate and display the sum of numbers from 1 to 5 and the product of numbers from 5 to
c
1 Vote
3 Answers
25th Feb 2022, 3:23 AM
Hoseok
Given two numbers X and Y, write a function that: 1 returns even numbers between X and Y, if X is greater than Y else it returns
(x
{
=
=>
const
myfunction
return
x*
y;
y)
-4 Votes
5 Answers
5th Oct 2018, 8:24 PM
ohwo oghenekaro
On a screen assume that there is a division..below that there is a button..on pressing the button, 1 should be printed in div..
<div>
0 Votes
2 Answers
20th Jul 2020, 7:35 AM
Adeeb Khan
Hello guys some one help me explain this while loop x = 1 while x < 10: if x%2 == 0: print(str(x) + " is even")
python3
1 Vote
3 Answers
10th Aug 2020, 8:08 AM
Akatwijuka Allan
You need to make a program for a leaderboard. The program needs to output the numbers 1 to 9, each on a separate line, followe
print
-1 Vote
2 Answers
2nd Jul 2021, 3:30 PM
Om Devkar
I really do not understand what 3 1 3 has to do with the document and how we arrived at it. Can someone help me understand that, please?
dom
javascript
6 Votes
5 Answers
15th Jul 2016, 11:41 PM
Lawrence Ainetor
-->โ๏ธ Hey bodies I think can i post 1 code every week suggest me and ๐ ๐จpost some awesome๐ code๐ here. I am searching ๐.
css3
html5
javascript
2 Votes
3 Answers
10th Feb 2018, 5:09 AM
Ashwin_Chaurasiya
i = 1 while i <=28: print(i) i = i + 8 print("Task Incomplete..!") i = 19 while i >=0: print(i) i = i-2 print('
cpython
numeric-operations
sololearn
1 Vote
4 Answers
26th Aug 2017, 2:21 PM
G.Vamshi Krishna
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
36
37
38
...
41
Next >
Hot today
What's the best way to learn anything
3 Votes
Most asked!
4 Votes
How can I improve my Authenticator App built with HTML, CSS, and JavaScript?
0 Votes
Is react js enough for frontend??
0 Votes
Is there Any other Simple Solution??
1 Votes
Most asked! 2.0
2 Votes
Mini project ideas for final years
1 Votes
Inquiry on how to start html
1 Votes
Please guys could smw do this for me ?
0 Votes
Best way to remember things on this app?
0 Votes