Cursos
Iniciar sesión
Comenzar a aprender IA
Cursos
Iniciar sesión
Comenzar a aprender IA
Sesiones de PyR
Buscar
Buscar
Haz una pregunta
Haz una pregunta
Where I am wrong? The task is to find the average word length... can you fix my code plz?
averageword
c#
code
help
length
2 Votos
3 Respuestas
12th Oct 2021, 6:05 PM
RLB
Как отследить изменение количества элементов в HTML коллекции (document.getElementsByClassName) без таймера?
element
elements
html
interval
javascript
length
mutation
observer
script
timer
2 Votos
19 Respuestas
17th May 2021, 8:03 PM
Влад Цислевский
My gmail id "ranashahid729@gmail.com". How much is the string length can be? How it can be printed one by one alphabet?
strings
-3 Votos
5 Respuestas
13th May 2017, 8:02 AM
Shahid Zafar
how to generate a list of infinite length containing all numbers made of 1 or 2 or both in ascending order?
python
1 Voto
2 Respuestas
10th Sep 2016, 6:26 AM
Akhil Gaur
A carpenter is cutting a long plank of wood of length N cm and fixed width of 2 cm into pieces of shorter lengths. Given that e
computer
science
0 Votos
5 Respuestas
5th Dec 2020, 2:01 PM
Franque Cgei
How to separate an string to it's words?
c++
code
length
statement
strings
variables
words
6 Votos
7 Respuestas
13th Mar 2020, 9:41 AM
Mohammad Aghazadeh
In the below question I can get the str lengthif I use array for char a,but how to get length of character without using array
c
language
0 Votos
3 Respuestas
8th Sep 2020, 4:19 AM
s.ruthvik
Cannot read property 'length' of undefined
css
html
javascript
length
loop
2 Votos
5 Respuestas
21st Dec 2017, 4:55 AM
Mohamed Kalith
Why write method is behaving differently in code 1 and code 2. In code1 it is writing and in code2 it is returning length of msg
python3
0 Votos
3 Respuestas
19th Aug 2020, 2:31 PM
Gubbala Saisree
C++ (integers' length, easy and fast)
c++
easy
integers
length
3 Votos
1 Respuesta
19th Dec 2017, 5:39 PM
CuriousCI
Help to fix text length in left side of var in JavaScript section. var aesthetic = { "": "", "l":"hamjakgo nana", };
javascript
0 Votos
1 Respuesta
8th Apr 2020, 4:56 AM
Jupiter Debbarma
int[ ] x= new int[7+0]. when check length it shows 7.... while if it counts from 0 it should have a pength of 8.
arrays
java
0 Votos
4 Respuestas
18th Jul 2016, 10:51 AM
Vaibhav
How do you print a string up to a certain letter?
calculator
float
length
python
strings
0 Votos
6 Respuestas
24th Sep 2016, 9:37 PM
Darth Vador
. Given an array and an integer, find the smallest subarray with length 2 whose absolute difference is greater than the given in
c++
-1 Voto
2 Respuestas
21st Aug 2020, 9:45 AM
ashutosh tripathi
3. Write a program to print the following output for the given input. You can assume the string is of odd length .
c++
java
1 Voto
1 Respuesta
28th Sep 2017, 12:04 PM
karthik
Write a problem that asks the user to enter a whole number of inches and converts that length to feet and inches.
input
output
python
0 Votos
2 Respuestas
8th Sep 2016, 1:15 AM
Manahari Dahal
Does string in java terminate with NULL and does it occupy any space? What will be length of the string "HELLO" ?
java
strings
1 Voto
2 Respuestas
10th Jan 2017, 6:00 AM
Nabajyoti Kumar Das
Will adding serious amounts of comments slow down the program? I mean like a novel length like the types of: war and peace.
c++
comments
0 Votos
3 Respuestas
18th Sep 2015, 5:07 PM
Henrik Karlberg
This code works properly but there is a bug! Why?
array
c
character
length
size
1 Voto
3 Respuestas
20th Mar 2022, 12:21 PM
Amateur
Can you help me find out mistake To calculate the average length of words in string and rounding it up to the nearest whole num.
average
length
python
word
0 Votos
1 Respuesta
20th Oct 2020, 4:01 PM
CHAKKA VENKATA NAGA SAI JYOTHIRMAI
Calculate a perimeter using given number. The last digit of the number is breadth and remaining corresponding digit is length
code
cprogramming
sololearn
-4 Votos
1 Respuesta
18th Apr 2022, 1:29 AM
SUDARSHAN URJANA
I wrote a program which displays user name and prints its length in java. Ported the same program in Python.
java
python
0 Votos
1 Respuesta
5th Jul 2017, 2:45 PM
suryapoojary
We have a string we have to return the minimum length of string for which tra saction id is made
input
java
output
python3
strings
1 Voto
1 Respuesta
24th Jan 2018, 5:10 PM
Nikhil Kohli
[SOLVED] How is it 0 here? I thought it must be 1 cause they look the same each other. Is the problem length of the strings?
c++
cpp
output
string
0 Votos
2 Respuestas
11th Sep 2021, 10:37 PM
mesarthim
How is length 3? What is the working and process i.e how is code getting executed on a line by line basis?
execution
how
linebyline
0 Votos
1 Respuesta
16th Sep 2020, 9:32 AM
Shashank Hegde
If l wont to computing the length of string inthe cpp language that the user can input it what should l do
c++
length
notconstant
string
0 Votos
1 Respuesta
26th Jun 2018, 11:53 PM
Omar Muhammad Nofal
Prelab Exercise: In C++, how do you compute the side length of a square whose area is stored in the variable area?
cnn
jam
mkl
-1 Voto
3 Respuestas
7th Feb 2017, 5:07 PM
Zeyad Sharo
Exercise: In C++, how do you compute the side length of a square whose area is stored in the variable area?
aravind
c++
helen
velentinhaker
-1 Voto
2 Respuestas
7th Feb 2017, 5:54 PM
Zeyad Sharo
I would like to know how I can find the length of an integer in C. For instance: 1 => 1 ;25 => 2;1251 => 4;0 => 1 and so on.
c
language
0 Votos
4 Respuestas
8th Sep 2020, 3:22 AM
s.ruthvik
can i initialize an array to give different length of inner array i.e int [][] a = new int[2][_] ; here blank space for dif leng
java
0 Votos
3 Respuestas
18th Dec 2019, 6:18 AM
VikaSh YadaV
[SOLVED]what does length()==7 mean?
code
help
html
java
length
methods
playground
problem
python
sql
2 Votos
10 Respuestas
16th Jun 2020, 9:17 AM
hamid
How much long line can we place in comment with tag "//", and what if we cross that line length limit? See description.....
c
c#
c++
comments
html
java
javascript
php
python
0 Votos
2 Respuestas
12th Jan 2018, 2:48 PM
Avi Tiwari
14. Write a JavaScript function to get all possible subset with a fixed length (for example 2) combinations in an array. Sampl
arrays
javascript
0 Votos
1 Respuesta
8th Dec 2016, 9:39 PM
Nashwan Aziz
Как создавать уроки
average
heap
length
sololearn
sos
word
2 Votos
1 Respuesta
9th Nov 2020, 3:29 AM
ПАТИ ЛЕГ СТАР
Correct Code
code
css
html
javascript
length
0 Votos
2 Respuestas
28th Feb 2022, 3:36 PM
Risky Pernanda
I want this to take the name given, then repeat it giving it's length and recognize whether the input is numerical or alphabetic
code
python
0 Votos
2 Respuestas
17th Nov 2016, 11:47 PM
Kemuel Samuels
Understand the functioin but not the notation that represents it.
array
arrays
java
length
0 Votos
1 Respuesta
8th Mar 2017, 3:39 AM
J. Shydigga
Can we write a program which is equivalent to string. length(); without using it.
functions
java
length
string
0 Votos
1 Respuesta
10th Oct 2016, 4:58 PM
Akshat Pandey
What is the difference between length, count and size?
arrays
count
length
methods
ruby
size
1 Voto
2 Respuestas
12th Dec 2019, 7:17 AM
Pawan Bharti
Write a function to return a string that contains random numbers where the length must be equal to the value of the parameter.
functions
html
javascript
strings
1 Voto
1 Respuesta
14th Aug 2017, 3:22 AM
oneCaptain
How to use the method parameter in java? Give me an example program in which we can enter desired value of length and breadth
java
1 Voto
1 Respuesta
22nd Dec 2016, 6:01 AM
Sachidanand Prasad
how to create a java program to print the same statement that we entered in the output without intimating the length of the statement..
java
0 Votos
2 Respuestas
19th Nov 2016, 12:08 PM
Gajenthiran.V
How do u set up a program where you have to find the length and width of a pool with talking to a customer
eclipse
java
0 Votos
2 Respuestas
8th Nov 2016, 2:47 PM
Oppp O
Go through the string below and if the length of a word is even print "even!" string = 'I know how to print every word in this
helpme
0 Votos
1 Respuesta
11th Mar 2023, 6:04 AM
jaydeep kadbhane
What is the out put of this code? why?
dictionaries
immutable
len
length
mutable
ordered
unordered
1 Voto
4 Respuestas
9th Jun 2020, 10:19 AM
Azad m. A.
Write a c++ program to print letter T using * character,the horizontal line in T of length 3n & width n ,vertical line l 2n &w n
c++
0 Votos
1 Respuesta
14th Aug 2019, 10:13 AM
Joselin Kiruba
Guys this fxn mst accept a char array, a 0 based start position and a length. It shud return a char array containn length chars.
errorcheck
1 Voto
1 Respuesta
8th Mar 2017, 2:33 PM
Ricardo Chitagu
write a recursive function to determine the given String is palindrome Or not and also write a recursive function to determine the length of the String?
c++
0 Votos
2 Respuestas
21st Nov 2016, 4:07 AM
Prithvi Malhotra
Quick feedback on error?
arraylist
error
index
length
lists
python
python3
search
word-search
0 Votos
13 Respuestas
21st Dec 2017, 10:59 AM
Laura
write a java script function to get all possible subset with a fixed length ( for example 2 ) combination in an array. sample ar
java
-1 Voto
1 Respuesta
15th Dec 2016, 9:00 PM
Nashwan Aziz
Haz una pregunta
Haz una pregunta
Haz una pregunta
Haz una pregunta
< Anterior
1
...
8
9
10
Siguiente >
En tendencia hoy
I'm about to make a complex calculator in python
1 Votes
why is python community is too small in sololearn?
1 Votes
Audio adding
1 Votes
The best python learning app ????
2 Votes
C#
0 Votes
Stuck in Quize
1 Votes
What is problem in this code
0 Votes
C Program
0 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
Software developer
0 Votes