Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
n = int(input()) length = 0 while n > 0: n //= 10 length += 1 print(length)
python3
0 Votes
4 Answers
17th Oct 2020, 2:46 AM
Rahul Prasad
What is wrong with this code? x = 0 while x< 9: x+=1 print(x,'''.\n''')
anyone
-1 Vote
4 Answers
5th Jun 2022, 11:21 AM
DEMETRIUS NDIBALEMA
n = input() a = 0 b = 0 for i in n: if i in "1,2,3,4,5,6,7,8,9": a = a+1 if i in "'!', '@', '#', '
#x27;, '%', '&',
python
0 Votes
4 Answers
30th Jun 2021, 8:25 AM
Shahir
Diference between " a%2 and a%2 == 0 " anyone please explain.
python
0 Votes
5 Answers
11th Nov 2016, 9:30 AM
Minko Terziyski
Why is float x= 11/100 ; in c++ only showing 0 ?
c++
1 Vote
2 Answers
30th Aug 2022, 6:32 PM
Emediong Ekoh
To check given decimal number has 0 and 1 in java program
java
1 Vote
2 Answers
3rd Sep 2019, 3:37 AM
Srikanth
How i can create a counter of 0 to 9? In C?
c
c#
c++
1 Vote
2 Answers
5th Dec 2020, 9:46 AM
Ismael Porfirio Martínez Encarnación
[JavaScript] why 1-"1" will return 0 where as 1+"1" will return 11
javascript
1 Vote
2 Answers
13th Oct 2020, 2:59 PM
Bodicherla Sreekanth
if we do not initialize variable it should print some garbage value but it printing 0 value by default...why this happening?
c
0 Votes
22 Answers
31st May 2020, 4:37 PM
Shrinivas Gadade
Why is the result of Remainder is 0 1 instead of only 1?
c
0 Votes
3 Answers
3rd Nov 2021, 4:42 PM
Yvns Kito
In java while loop works 10 - 0 and,, 'for' loop works reverse 0-10?
java
1 Vote
8 Answers
8th Jun 2017, 1:58 PM
prashant vyas
I not understand what the function return 0 and return 1
int
2 Votes
2 Answers
10th Feb 2017, 9:01 PM
Fade Elyan
What is the difference between return 0 and return 1 in python?
0
in
python3
return
1 Vote
1 Answer
26th Jul 2019, 5:12 AM
Maduchandan B P
#include <stdio.h> int main() { int j=0; for(int i=0; i<100; i++) { j=j++; } printf("%d", j); } Output = 0
c
5 Votes
9 Answers
7th Dec 2018, 4:37 PM
👑 Ak-king 👑
c=-8j print(c) can anyone explain me why the output is like that -0 -8j why negative 0
python
12 Votes
2 Answers
9th Dec 2020, 4:05 PM
Code Black Web(Gamer)
I'm really so confused on this. (float num = 50/100;) (cout<< num <<endl;) output 0 instead 0.5; why?
c++
cpp
6 Votes
7 Answers
15th Jun 2022, 7:04 PM
IbrahimCPS
how to make a set of numbers from 0 to 100 by using a loop range(100)?
loop
python
set
3 Votes
7 Answers
19th Nov 2022, 6:02 PM
PASHA from Russia 🇷🇺
unary operators : If float x; then x=sizeof(double) then why out is 0
operands
unary
0 Votes
5 Answers
29th Mar 2020, 3:33 PM
Ankit Patil
How to get digit frequency for numbers 0 to 9 from a string in c
c
digit
frequency
string
0 Votes
7 Answers
17th Apr 2022, 9:33 AM
Timothy Njiru
Can anyone tell me why the output is only 0 & 1
java
0 Votes
3 Answers
2nd May 2020, 5:42 AM
Shivam Rawal
Is it necessary to end our program with return 0 ; ?
basics
c
1 Vote
2 Answers
1st Aug 2019, 10:50 AM
Parminder Singh
I am using returt value 1or 2 instead of 0
c++
0 Votes
1 Answer
12th May 2020, 3:22 AM
SHIVAM KUMAR
What's the calling process?, and what does *return 0;* change in it?
0
return
0 Votes
2 Answers
10th Dec 2017, 12:14 PM
Mohamed Hussein
How is it possible for someone who's level is 0 to be midway through a course?
exp
levels
2 Votes
4 Answers
22nd Jan 2024, 12:26 AM
𝙸𝚋𝚎𝚕𝚒𝚗𝚊 𝙻𝚎𝚘
When I check my profile it shows 0 lessons. What should I do now?
lessons
-1 Vote
3 Answers
14th Nov 2020, 12:11 PM
Mohammed Raed-Ul-Islam Reshi
Why is islower function always showing 0 no matter what character I use?
c
help
0 Votes
4 Answers
12th Aug 2021, 3:53 AM
Harkeerat Singh
How to start freelancing from 0 experiance and start small earning
css3
designer
developer
earning
freelancing
help
javascript
-1 Vote
4 Answers
5th Jul 2017, 3:29 PM
arbaz
try: num = 5 / 0 except: print("An error occurred") raise
exceptions
python
0 Votes
3 Answers
24th Apr 2017, 4:24 AM
arun kumar
n = int(input()) for x in range(1, n): if x % 3 == 0 and x % 5 == 0: print("SoloLearn") elif x % 3 == 0:
@python
-1 Vote
14 Answers
3rd Jun 2021, 12:14 PM
Gold samuel
(SOLVED) "Fill in the blanks to print the EVEN values from 0 to 100 using a for loop:"
c#
loops
0 Votes
8 Answers
24th Feb 2020, 8:45 PM
Andres Araya
can someone answer to me how i get 0 in this code
english
python
0 Votes
2 Answers
16th Nov 2020, 8:04 AM
pyae phyo
Fill in the blanks to create a list of numbers from 0 to 99 and output the 5th item
range
-1 Vote
5 Answers
6th Oct 2021, 6:46 PM
Kelum Dilshan Weerasuriya
помогите пожалуйста разобраться с этой задачей. почему выходит такой результат: 0 1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1
javascript
4 Votes
5 Answers
8th Apr 2017, 4:34 PM
░S░M░I░T░H░
Why am I getting 0 as the output? Shouldn't the output be 40?
c
code
output
0 Votes
6 Answers
9th Mar 2018, 4:39 PM
Atiq Rahman
How is the default value of int and float 0 and 0.0f ;
java
5 Votes
2 Answers
24th Oct 2017, 3:12 PM
Utkαrsh
There is no dot in the 0 .so our code get invalid.
0
absent
dot
in
is
-1 Vote
3 Answers
9th Dec 2020, 2:24 PM
Vaishnavi Gund
Adding to an array when the remainder of the separation is equal to 0
%
arr
javascript
js
0 Votes
6 Answers
6th Apr 2021, 12:46 PM
Bomko Aleksey 👨💻
<?php $html="PHP is"; $html+=" "; $html+="best"; echo $html; ?>output is 0
php
3 Votes
1 Answer
30th Sep 2017, 2:52 PM
Yash Nikam
Why does output shows 0 sec but I have this song full, tell problem?
html
1 Vote
5 Answers
18th Jun 2020, 1:43 PM
✌🏻ਧੀਮਾਨ 💪🏻
Why a function main() has to return value!!!!!! Don't understand about return 0
c++
return
1 Vote
5 Answers
28th Jul 2017, 3:22 PM
Serious Sam
HOW CAN I MAKE IT WHEN I INPUT 11.6 the output is 11 hours 60 minutes and 0 degrees
c++
1 Vote
7 Answers
20th Sep 2024, 9:09 AM
Lewis He
What is the difference between return 0 in the end of main code and return 0 in the end of function code
return
value
0 Votes
1 Answer
16th Aug 2018, 2:16 PM
Kondepati Bhavana
What is the difference between return 0 in the end of main code and return 0 in the end of function code
return
value
0 Votes
1 Answer
16th Aug 2018, 2:15 PM
Kondepati Bhavana
Plz explain the code ? And first line output is coming Enter a number0 , I want to remove 0 how can I remove it
help
3 Votes
24 Answers
15th Nov 2022, 11:43 AM
Keshav Karn
if program coded without return 0 what difference happend in output screen?
magesh
-3 Votes
4 Answers
11th Aug 2020, 2:17 PM
MAGESH T K
Why the output is 1 why don't it shows 0 as it's output?
challenge_question
java
2 Votes
4 Answers
21st Jun 2017, 3:46 AM
Tushar
Hi did i wrote anything wrong?it just keep saying return code is not 0
help
0 Votes
1 Answer
31st Dec 2019, 3:29 PM
Shoon Ren Shyan
What is the meaning of return 0 in c language ?
int
0 Votes
2 Answers
16th Apr 2019, 9:37 AM
Yug Bhupesh
How Can I attribute AT the opacity , a value of 0 ?
animation
css
opacity
3 Votes
2 Answers
25th Dec 2019, 9:49 PM
Max Andy MOUMOUNI
why is it necessary to write return 0 then }
c++
cout
return
0 Votes
2 Answers
10th Jul 2016, 9:29 AM
Saptarshi Saha
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
8
9
10
...
18
Next >
Hot today
Guys help please
1 Votes
Python question
2 Votes
Python
1 Votes
Are websites hackable?
1 Votes
Void functional void with bool function
0 Votes
TICTACTOE
0 Votes
C# and sql
1 Votes
What course to take for AI?
0 Votes
Error
0 Votes
What's an unsigned int?
0 Votes