Corsi
Accedi
Inizia a imparare l'IA
Corsi
Accedi
Inizia a imparare l'IA
Discussioni Q&A
Cerca
Cerca
Fai una domanda
Fai una domanda
n = int(input()) length = 0 while n > 0: n //= 10 length += 1 print(length)
python3
0 Voti
4 Risposte
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 Voto
4 Risposte
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 Voti
4 Risposte
30th Jun 2021, 8:25 AM
Shahir
Diference between " a%2 and a%2 == 0 " anyone please explain.
python
0 Voti
5 Risposte
11th Nov 2016, 9:30 AM
Minko Terziyski
Why is float x= 11/100 ; in c++ only showing 0 ?
c++
1 Voto
2 Risposte
30th Aug 2022, 6:32 PM
Emediong Ekoh
To check given decimal number has 0 and 1 in java program
java
1 Voto
2 Risposte
3rd Sep 2019, 3:37 AM
Srikanth
How i can create a counter of 0 to 9? In C?
c
c#
c++
1 Voto
2 Risposte
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 Voto
2 Risposte
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 Voti
22 Risposte
31st May 2020, 4:37 PM
Shrinivas Gadade
Why is the result of Remainder is 0 1 instead of only 1?
c
0 Voti
3 Risposte
3rd Nov 2021, 4:42 PM
Yvns Kito
I not understand what the function return 0 and return 1
int
2 Voti
2 Risposte
10th Feb 2017, 9:01 PM
Fade Elyan
In java while loop works 10 - 0 and,, 'for' loop works reverse 0-10?
java
1 Voto
8 Risposte
8th Jun 2017, 1:58 PM
prashant vyas
What is the difference between return 0 and return 1 in python?
0
in
python3
return
1 Voto
1 Risposta
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 Voti
9 Risposte
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 Voti
2 Risposte
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 Voti
7 Risposte
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 Voti
7 Risposte
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 Voti
5 Risposte
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 Voti
7 Risposte
17th Apr 2022, 9:33 AM
Timothy Njiru
I am using returt value 1or 2 instead of 0
c++
0 Voti
1 Risposta
12th May 2020, 3:22 AM
SHIVAM KUMAR
Can anyone tell me why the output is only 0 & 1
java
0 Voti
3 Risposte
2nd May 2020, 5:42 AM
Shivam Rawal
Is it necessary to end our program with return 0 ; ?
basics
c
1 Voto
2 Risposte
1st Aug 2019, 10:50 AM
Parminder Singh
How is it possible for someone who's level is 0 to be midway through a course?
exp
levels
2 Voti
4 Risposte
22nd Jan 2024, 12:26 AM
𝙸𝚋𝚎𝚕𝚒𝚗𝚊 𝙻𝚎𝚘
What's the calling process?, and what does *return 0;* change in it?
0
return
0 Voti
2 Risposte
10th Dec 2017, 12:14 PM
Mohamed Hussein
When I check my profile it shows 0 lessons. What should I do now?
lessons
-1 Voto
3 Risposte
14th Nov 2020, 12:11 PM
Mohammed Raed-Ul-Islam Reshi
How to start freelancing from 0 experiance and start small earning
css3
designer
developer
earning
freelancing
help
javascript
-1 Voto
4 Risposte
5th Jul 2017, 3:29 PM
arbaz
Why is islower function always showing 0 no matter what character I use?
c
help
0 Voti
4 Risposte
12th Aug 2021, 3:53 AM
Harkeerat Singh
try: num = 5 / 0 except: print("An error occurred") raise
exceptions
python
0 Voti
3 Risposte
24th Apr 2017, 4:24 AM
arun kumar
can someone answer to me how i get 0 in this code
english
python
0 Voti
2 Risposte
16th Nov 2020, 8:04 AM
pyae phyo
(SOLVED) "Fill in the blanks to print the EVEN values from 0 to 100 using a for loop:"
c#
loops
0 Voti
8 Risposte
24th Feb 2020, 8:45 PM
Andres Araya
Fill in the blanks to create a list of numbers from 0 to 99 and output the 5th item
range
-1 Voto
5 Risposte
6th Oct 2021, 6:46 PM
Kelum Dilshan Weerasuriya
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 Voto
14 Risposte
3rd Jun 2021, 12:14 PM
Gold samuel
помогите пожалуйста разобраться с этой задачей. почему выходит такой результат: 0 1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1
javascript
4 Voti
5 Risposte
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 Voti
6 Risposte
9th Mar 2018, 4:39 PM
Atiq Rahman
How is the default value of int and float 0 and 0.0f ;
java
5 Voti
2 Risposte
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 Voto
3 Risposte
9th Dec 2020, 2:24 PM
Vaishnavi Gund
<?php $html="PHP is"; $html+=" "; $html+="best"; echo $html; ?>output is 0
php
3 Voti
1 Risposta
30th Sep 2017, 2:52 PM
Yash Nikam
Adding to an array when the remainder of the separation is equal to 0
%
arr
javascript
js
0 Voti
6 Risposte
6th Apr 2021, 12:46 PM
Bomko Aleksey 👨💻
Why does output shows 0 sec but I have this song full, tell problem?
html
1 Voto
5 Risposte
18th Jun 2020, 1:43 PM
✌🏻ਧੀਮਾਨ 💪🏻
Why a function main() has to return value!!!!!! Don't understand about return 0
c++
return
1 Voto
5 Risposte
28th Jul 2017, 3:22 PM
Serious Sam
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 Voti
1 Risposta
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 Voti
1 Risposta
16th Aug 2018, 2:15 PM
Kondepati Bhavana
HOW CAN I MAKE IT WHEN I INPUT 11.6 the output is 11 hours 60 minutes and 0 degrees
c++
1 Voto
7 Risposte
20th Sep 2024, 9:09 AM
Lewis He
if program coded without return 0 what difference happend in output screen?
magesh
-3 Voti
4 Risposte
11th Aug 2020, 2:17 PM
MAGESH T K
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 Voti
24 Risposte
15th Nov 2022, 11:43 AM
Keshav Karn
Why the output is 1 why don't it shows 0 as it's output?
challenge_question
java
2 Voti
4 Risposte
21st Jun 2017, 3:46 AM
Tushar
What is the meaning of return 0 in c language ?
int
0 Voti
2 Risposte
16th Apr 2019, 9:37 AM
Yug Bhupesh
Hi did i wrote anything wrong?it just keep saying return code is not 0
help
0 Voti
1 Risposta
31st Dec 2019, 3:29 PM
Shoon Ren Shyan
How Can I attribute AT the opacity , a value of 0 ?
animation
css
opacity
3 Voti
2 Risposte
25th Dec 2019, 9:49 PM
Max Andy MOUMOUNI
why is it necessary to write return 0 then }
c++
cout
return
0 Voti
2 Risposte
10th Jul 2016, 9:29 AM
Saptarshi Saha
Fai una domanda
Fai una domanda
Fai una domanda
Fai una domanda
< Precedente
1
...
8
9
10
...
18
Successivo >
Popolare oggi
Guys I don't know anything about cooding who can help me pls
1 Votes
Decorators in python.
2 Votes
Need help
1 Votes
How to install Bcrypt here
1 Votes
Pointers in c#
1 Votes
Please click me
0 Votes
Can sololearn have multiple inpus&outputs?
3 Votes
How to Get Better at Solving Programming Problems
0 Votes
Hello !
0 Votes
Help
1 Votes