Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
def my_func(x): assert x > 0 , "Error!" print(x)
assertions
0 Votes
2 Answers
21st Aug 2019, 5:01 PM
Rupal Raut
What is the meaning of ' return 0 ' and why it is used ??
return
3 Votes
6 Answers
1st Jul 2019, 3:58 AM
Npower Nks
How do i not have 0 in the output
c++
0 Votes
2 Answers
13th Oct 2020, 5:15 PM
Frost
Hi! What's the difference between null and 0 and""
.
0 Votes
2 Answers
9th May 2020, 9:58 PM
A.M
x = 0 while x <= 20: print (x) x += 2
loops
python
3 Votes
4 Answers
19th Oct 2016, 2:38 PM
Blas Ortiz
Como imprimo un valor de 0 a 50
loops
0 Votes
2 Answers
25th May 2018, 12:14 AM
Total Virus Created
Why the first elements prints as 0 - Java Arrays
arrays
java
loops
1 Vote
3 Answers
14th Apr 2023, 4:24 PM
GG128
Create a list of multiples of 3 from 0 to 20.?
comprehension
list
python3
-1 Vote
3 Answers
23rd Jun 2020, 9:46 AM
Abhishek Patel
Is it possible to reverse a number ending with 0 in C++
challenge
numbers
palindrome
reversed
1 Vote
5 Answers
10th Aug 2021, 10:56 PM
Rashid Shakili
Any idea why this is happens? Insted showing result in 0 or none ?
division
operators
3 Votes
10 Answers
7th Sep 2018, 11:46 AM
Mr. Nothing
Display all the numbers between 0 and 200 satisfying all the below conditions: i) Sum of the digits should be 9
0
200
and
below
between
conditions
display
numbers
satisfying
the
9 Votes
26 Answers
8th Sep 2022, 5:55 AM
Mr XXX
C++ Bon voyage task - how to get rid of initial 0 output
c++
loops
0 Votes
3 Answers
5th Feb 2021, 12:28 AM
Patrick Millican
This program is based on C++ and the output is [ 0 1 0] how to Z's value 0 ?
c++
3 Votes
1 Answer
10th Sep 2017, 6:49 PM
Anuj kumar
When n.innerHTML < 0 it doesn't give me an alert why?
alert
code
css
html
html5
if-statements
javascript
1 Vote
5 Answers
5th Mar 2021, 7:33 PM
Radwa Hamdy
How are NULL and '\0' defined in C?
0
c
null
7 Votes
8 Answers
6th Mar 2019, 9:15 AM
Abhishek Tandon
In module 1 quiz what is the answer? The last with the 0
1
module
quiz
-3 Votes
4 Answers
31st Jan 2018, 4:25 PM
AntPap
If return returned a value like 0. What's the benefit of this ?
0
return
0 Votes
4 Answers
26th Jul 2019, 6:14 AM
The unknown 321
What happens if i index with 0 as a step?
lists
python
python3
1 Vote
2 Answers
30th Sep 2021, 6:30 AM
Jamil ๐บ๐ฌ stark
Html input value less than 0 not allowed in input type number
forms
html
htmlform
input
php
1 Vote
8 Answers
17th Mar 2022, 1:05 PM
Mac Anthony
why do we have to end with return 0
c++
1 Vote
3 Answers
16th Jun 2016, 7:05 AM
Monu Maheswari
why we return value 0 Not other value like 1,2etc.
c++
return
2 Votes
4 Answers
26th Sep 2016, 1:45 PM
rahul negi
What output does the{ margin: 0 auto;} produce ?
<div>
1 Vote
1 Answer
1st Nov 2019, 4:41 PM
Dushyant Kumar Tyagi
What is the use of return 0 in the code...?
data-types
1 Vote
2 Answers
11th Jun 2019, 1:13 PM
Akash C R
What mean this error message in Java? "Line 0 <identifier> expected" ? I need your help please!
java
-1 Vote
14 Answers
4th Oct 2021, 6:36 PM
Jean BALEMBA
Is there any differ in between exit(0) and return 0
a
0 Votes
4 Answers
27th Sep 2018, 7:36 PM
manoj hunachigi
Guys how to find prime no. between 0 to 100 using python?
django
javascript
jquery
programming
python
1 Vote
4 Answers
27th Jun 2018, 6:43 AM
Sunil Chettri
Can I use try/catch without throw? What does throw 0 mean?
c++
exceptions
2 Votes
5 Answers
8th Aug 2016, 12:01 PM
shola ola ibrahim
I need to insert 0 after k times 1 using REGEX. n,k=map(int, input ().split());l=input ().strip() print(sub(f'1{k}',????
python3
regular-expressions
2 Votes
17 Answers
5th Jun 2020, 8:34 AM
Levi
Difference between getch() and return 0 in c
c
0 Votes
1 Answer
2nd Dec 2018, 6:28 AM
faizul rahman
Y 0 came in output as I >0
@sololearn
0 Votes
1 Answer
23rd Sep 2022, 3:52 PM
chetan kumar
I need a way to send class 0 sms messages.
python
0 Votes
2 Answers
30th Apr 2019, 6:03 PM
Tony
why is it necessary to write return 0 then }
c++
cout
0 Votes
5 Answers
10th Jul 2016, 9:29 AM
Saptarshi Saha
What difference bettwen iostream.h and iostream useng named retrn 0
c++
Old
torbue
verson1998
0 Votes
5 Answers
31st Jan 2017, 11:25 AM
โโชโโชAMMAR
What is Return 0 and when do i need to use it?
0
c++
return
5 Votes
3 Answers
17th Feb 2017, 3:15 PM
Noah
[SOLVED]Why audio is not working?i used dropbox and placed 0 to 1so why not working
0to
1so
and
dropbox
is
iused
not
place
why
7 Votes
7 Answers
4th Jan 2021, 5:55 AM
๐ฎ๐ณ๐ป๐๐ ๐๐๐ธ๐๐น๐๐๐ฎ๐ณ
No remainder
0
blank
1 Vote
1 Answer
3rd Feb 2022, 7:40 PM
Joseph Ogden
What is the purpose of return 0 at the end?
c++
variables
0 Votes
5 Answers
12th Jun 2017, 9:42 AM
Lek0
C++ x *= 0.array[ y] why not working?
0
c++
-1 Vote
3 Answers
5th Jul 2022, 3:37 PM
Nick Gamer
Why not the output is 0 ? Why show the output 4?
c
sololearn
0 Votes
5 Answers
23rd Aug 2020, 4:21 PM
Suparna Podder
What is the best way to start pythone from 0 to a decent level in just 3 months
python3
0 Votes
19 Answers
27th Apr 2023, 12:47 PM
Bahaeddine
Is it necessary to use return 0 in c++ programs?
c++
2 Votes
3 Answers
18th Mar 2017, 5:07 PM
Shiva
I have a question about C language .Why didn't it end when I entered 0 .
c
help
1 Vote
15 Answers
17th Nov 2020, 5:37 AM
[No Name]
!(1||0&&!1) can anyone explain me how its answer is 0
c
language
1 Vote
2 Answers
31st May 2020, 12:30 PM
Rishabh Giri
How to sum the squares of integers from 0 to 5?
python
sum
4 Votes
3 Answers
21st Nov 2016, 4:57 PM
Daniil Ivanov
How can 5/2=2 and error divide by 0 at the same time???
catch
coach-callenge
java
mutiple-exceptions
1 Vote
3 Answers
22nd Nov 2020, 6:35 AM
Rick Shiffman
Why index start with 0 but not with 1
array
arraylist
arrays
indexers
java
0 Votes
3 Answers
13th Feb 2017, 6:48 PM
Suresh Erragana
Whay array index start from 0 in c language ?
c
programmer
0 Votes
1 Answer
9th Aug 2022, 3:57 PM
rugved kulkarni
what is the for loop to print EVEN values from 0 to 20 using a for loop:
c++
loops
-7 Votes
12 Answers
1st Nov 2016, 10:56 AM
Nandu Sasi
Help me, please! Why my code always return 0 :(
html
javascript
mysql
php
sql
2 Votes
3 Answers
13th Sep 2017, 8:21 AM
Lแบทng
How is the output different?
0
exponentiation
python
1 Vote
8 Answers
17th Oct 2022, 2:17 PM
Shantanu
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
6
7
8
...
18
Next >
Hot today
C pointers
2 Votes
Python
0 Votes
Guys help please
0 Votes
Slicing in python
1 Votes
Python question
1 Votes
Control flow
0 Votes
HTML
0 Votes
Front-end vs Full-stack
1 Votes
Which mobile offline app can I use for HTML
0 Votes
HOW CAN I CREATE A GAME AS BEGINNER
0 Votes