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
def convert(num): if num == 0: return 0 else: return (num % 2 + 10 * convert(num // 2))
python
recursion
5 Votes
13 Réponses
3rd Sep 2022, 6:01 PM
Mohammad Faiz
Difference b/w return 1 , return 0 and return -1 ?????
c
c++
java
0 Vote
3 Réponses
22nd Jan 2017, 5:42 AM
Ankish Gupta
Why unsigned char data type range is between 0 and 255?
c
4 Votes
1 Réponse
18th Jan 2019, 1:26 PM
Zhenis Otarbay
why we are use in return 0 in the statement?
c++
else-statements
0 Vote
4 Réponses
30th Sep 2016, 7:47 AM
ALEXANDAR
What does return 0 means .... return is used for what ??
c++
1 Vote
7 Réponses
15th Nov 2016, 12:56 PM
snehashish
is there any way to use integer value with leading 0 Python?
data-types
python
python3
0 Vote
4 Réponses
31st Jan 2020, 2:57 PM
Kishor Jena
Why we use return and a number 0 after return??
c
language
0 Vote
3 Réponses
1st Apr 2020, 6:55 AM
Charan Elluru
You are given a program that outputs all the numbers from 0 to 10. Change the code to make it output only the even numbers
python
0 Vote
14 Réponses
19th Jan 2021, 3:02 PM
NWACHUKWU PRECIOUS CALEB
int x = 1/ 3; cout << x; // Outputs 0 . Why?
c++
operators
3 Votes
9 Réponses
19th May 2017, 12:22 AM
Abdulrahim Idris
N=int(input('Enter number')) sum = 0 i=1 while i<=N: sum=sum+i i=i+2 print(sum)
python
0 Vote
1 Réponse
4th Oct 2018, 8:24 AM
Nick Fiction
Wy the result not between 0 and 81 not 18?
lists
python
0 Vote
4 Réponses
15th Dec 2016, 3:17 AM
ali
Why dows mysql return 0 for the unique code?
html5
mysql
php
1 Vote
2 Réponses
15th Feb 2018, 1:20 PM
Balázs Rippl
i want to start from 0 what should i do ?
how
start
to
1 Vote
5 Réponses
26th Aug 2017, 2:34 PM
affes wajdi
Let the sequence of numbers, which ends 0
c++
-5 Votes
1 Réponse
5th Jan 2017, 9:54 AM
Alex Silin
Do dictionaries index not start at 0 like an array?
arrays
dictionaries
python
1 Vote
3 Réponses
5th Aug 2016, 9:55 PM
Patrick
process finished with exit code 0 this error show
ai
jarvis
python
0 Vote
1 Réponse
26th Jun 2022, 3:43 AM
rugved kulkarni
Any Java practises I do come up with error on line 0
error
help
java
-2 Votes
5 Réponses
11th Oct 2021, 8:05 AM
Ciaran Kelly
What is the difference between return 0 and exit(0) in C++?
c++
1 Vote
2 Réponses
22nd Sep 2019, 8:26 PM
Arpit Bhardwaj
I need some help please? Stop -1 coins to stay at 0
coin
game
javascript
0 Vote
6 Réponses
8th Jan 2019, 1:38 PM
leighton
Any one explain why computer read only binary digit ( 0 , 1 ) ?
language
programming
5 Votes
14 Réponses
16th Dec 2017, 5:58 AM
Amit
Why we take year %100 != 0 to find leap year ??
java
2 Votes
4 Réponses
12th Dec 2016, 10:49 AM
Nishant singh
I want to start learning python from 0 what do you propose;
python
-1 Vote
4 Réponses
27th Nov 2018, 12:41 PM
θεοφάνης Ρώτας
Does the binary contain 2 digits?
0
1
binary
4 Votes
5 Réponses
8th May 2018, 6:37 PM
program
0 22 444 8888.... please help as stuck on the first line....??
python
0 Vote
3 Réponses
17th Feb 2020, 6:53 PM
pratham
How to stop user from giving 0 as input in following code
python3
0 Vote
5 Réponses
1st May 2020, 5:37 AM
Fanatic
[challenge] find lowest number with devisor 225 and digits only 0 and 1. Beginners welcome just read thread.
challenges
10 Votes
24 Réponses
15th Feb 2018, 7:33 AM
Oma Falk
Letter counter in python, problem! Why returns 0 value? Help me!
counter
letter
py
python
0 Vote
3 Réponses
12th Nov 2022, 7:34 AM
Zafarjon Obidov
Why 3/6 is 0 and 3/6.0 is 0.5 which is a float?
data-types
float
python
0 Vote
5 Réponses
9th Jul 2018, 4:26 PM
ved bhardwaj
whats wrong with this code it give zero 0 output !
calculator
function
give
not
output
1 Vote
4 Réponses
22nd Feb 2017, 1:40 PM
Abrar Hussain
Return 0 or return 1 - what the difference?
cout
error
nothing
return
1 Vote
1 Réponse
25th Nov 2017, 8:10 PM
₩Ìkīpędįã
Why 10 is counted and why 0 is not in the output
c
c#
java
0 Vote
4 Réponses
24th Feb 2020, 5:04 PM
Erfan Mostafavi
could someone explain why the highest number this code outputs is 0
python
1 Vote
3 Réponses
9th Jan 2020, 3:53 PM
Yash
Does sets start with 0 or 1in set size
java
sets
0 Vote
2 Réponses
19th Nov 2016, 7:39 AM
arap sielei
How to make it to display 0 as prime i got stuck
php
prime
1 Vote
3 Réponses
25th Feb 2020, 7:59 PM
sibu dhital
Why array index start from 0 ,Is any reason behind it or not???
c++
html
java
javascript
python
ruby
3 Votes
6 Réponses
3rd Sep 2017, 7:12 AM
mohit thakor
How do I Print Octal Number from 0 -1000 using python?
cpython
datacamp
python
python3
pythonista
0 Vote
2 Réponses
2nd Mar 2021, 1:17 PM
Nafi Rahat Rahman
Please tell me why this code shows 0 when using int instead of float. Percentage calculator.
answer
c++
code
codebits
codeplayground
cpp
popular
questions
sololearn
2 Votes
9 Réponses
25th Jan 2021, 3:33 PM
Shubham Dhyani
What should be the value of 0^0 in python programming? I am getting 0 which should be 1. Please clarify.
python
0 Vote
20 Réponses
9th May 2020, 4:12 PM
SHAKTIYAVESH NANDAN PRATAP SINGH
Can someone explain me why index is 1 why not 0
cpython
python3
0 Vote
2 Réponses
18th Jun 2020, 6:18 AM
Navneet
Having trouble with Math.Min within a method. keeps initialising back to 0
c#
0 Vote
6 Réponses
24th Feb 2018, 9:12 PM
Chris
Why array index is always started from 0 (zero) ?
arrays
java
0 Vote
3 Réponses
6th Feb 2017, 11:51 AM
navit
Algun video en YouTube para comenzar desde 0 react native
native
react
0 Vote
2 Réponses
8th Sep 2020, 4:06 AM
Paul Astudillo
so naturally rand() % X goes from 0 -> X-1?
c++
rand
0 Vote
3 Réponses
14th Oct 2016, 5:22 AM
lucas
what is multiple of 2 from value 0 to 20
multiple
0 Vote
3 Réponses
29th May 2017, 4:50 PM
Balogun Fisayo
This app is good but I have 0 experience so what I do
regular-expressions
4 Votes
2 Réponses
11th Jul 2021, 8:01 AM
hyper gaming and typs
My views are not working it is always at 0 and it is public
css
help
html
javascript
python
web
2 Votes
3 Réponses
30th May 2022, 8:36 PM
Emeku Abel🇳🇬
as a Beginner with 0 experience in programming, which langauge should i start with?
beginner
2 Votes
3 Réponses
23rd Sep 2020, 3:08 PM
Gracia
Can anyone elaborate why do we use return 0 and void?
function
return
void
0 Vote
2 Réponses
26th May 2019, 8:19 AM
Yash Thakkar
Why is x and y given 0 and 1 respectively
c#
output
0 Vote
1 Réponse
5th Jun 2018, 3:06 PM
bhirkoff
Understanding js line R = 255 * (R <= 0 ? 0 : R>= 1 ? 1 : Math.pow(R, 1 / gC));
javascript
1 Vote
1 Réponse
11th Oct 2018, 7:16 PM
Anastasia G
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
7
8
9
...
18
Suivant >
Aujourd'hui en vedette
Void functional void with bool function
0 Votes
Python
2 Votes
TICTACTOE
1 Votes
Learn python
2 Votes
Error
0 Votes
BIG DOUBT🤔🤔🤔🤔
2 Votes
Need help (French)
1 Votes
Help for study
0 Votes
Spying on me
1 Votes
Where's PHP and Ruby courses?
1 Votes