Новый курс!
Каждый программист должен знать
генеративный ИИ!
Попробуйте бесплатный урок
Курсы
Курсы
Компилятор кода
Компилятор кода
Обсуждения
Sololearn PRO
Teams
Войти
Регистрация
Menu
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
Plz tell what wrong in the code.Its the python code for calculating the length of longest increasing subsequence from a list.
python
while
1 голос
10 ответов
29th Mar 2020, 9:39 AM
ayush verma
You want to take a list of numbers and find the sum of all of the even numbers in the list. Ignore any odd numbers.
odd
python
2 голосов
20 ответов
25th Mar 2022, 3:54 PM
Kalyani Khakal
Assign a list variable to a new variable results in two variables with the SAME list. Why.
list
to
variable
1 голос
5 ответов
14th Feb 2023, 6:54 AM
PholaX
Why head getting changed even though i copy it in another Node called curr.? It's happening only after reversing my linked List.
java
linkedlist
1 голос
17 ответов
7th Aug 2022, 12:40 PM
Surya T
List takes 100% of with and another list goes down the first list.
clearfix
float
html
left
problem
right
0 голосов
2 ответов
26th Jul 2017, 12:00 PM
Ahmed Gad
True or False: An ordered list cannot be nested inside an unordered list.
sd
3 голосов
0 ответов
9th Jan 2023, 2:20 PM
amr walid
I need help to remove spaces form list. For example user gives input as 1 + 1.
python3
-1 голос
5 ответов
20th Mar 2021, 1:54 AM
Rohan Raj Shrestha
Write a program to square each odd number in a list. The list is input by a sequence of comma-separated numbers.
#c
#c++
#python
#python3
5 голосов
8 ответов
3rd Sep 2022, 5:04 AM
Mani Sankar
My teacher gave this snippet for Accepting input from user and creating a matrix using list.
python
0 голосов
2 ответов
7th Nov 2018, 3:42 PM
Mara
I have a problem. I am finding it hard to sum up integer members of a list. I need help guys.
python3
0 голосов
7 ответов
9th Jan 2021, 9:09 PM
Eneh Uchenna Fortune
My code is returning an uncaught error and my css has no effect...like im completely list. Cab someone help me?
css3
html5
javascript
website
2 голосов
6 ответов
24th Sep 2019, 9:15 PM
Ife Abimbola-Olulesi
I need the largest element from the list. so i typed this programme but by taking string as "100.25,80.99,40.00"
float
python3
string
3 голосов
3 ответов
3rd Mar 2020, 8:48 PM
Navneet
Can someone help with a pseudo code to remove an element from a list. Thanks in advance.
basics
0 голосов
3 ответов
5th Mar 2020, 8:49 AM
Lefhika Batsile
Write a program that takes a list as input and outputs the last element of that list.
exercise
list
python
slices
1 голос
2 ответов
30th Sep 2021, 10:50 PM
Kevin
Write an efficient algorithm to reverse the specified portion of a given linked list.
linkedlist
-1 голос
1 ответ
26th Apr 2022, 4:46 AM
Alddd
What is the diference bewteen ( ) and [ ]. For example: in a list. Python 3
(
)
[
]
lists
python3
1 голос
2 ответов
2nd Feb 2020, 2:33 PM
Mr.Wolf
Given a list of birth years calculate how old these people will be in the year 2050 and, output the resulting list.
python3
1 голос
8 ответов
13th Jan 2021, 5:02 AM
Rahul Prasad
I want to do list item with ordered list. I do this. I have error and i haven't output. Thanks you.
ite
lis
ordere
1 голос
7 ответов
15th Jan 2021, 12:28 PM
Malick Diagne
Write a function that merges two sorted lists into a new sorted list. [1,4,6] , [2,3,5] to→ [1,2,3,4,5,6]
arrays
functions
kotlin
0 голосов
3 ответов
4th May 2020, 4:04 PM
d1_codes
that will ask the user to input a list of numbers and display the input list. Program then find the maximum and second maximum
code
-4 голосов
21 ответ
8th Mar 2022, 5:08 AM
Priyansh Verma
Write a program to discount all of the prices and output a new price list. Need help, plase 🙂
c#
1 голос
2 ответов
22nd Dec 2020, 10:38 PM
Bogdan Constantin
split line into words using all special characters as delimiter but to keep delimiter in list.
python
1 голос
2 ответов
15th Dec 2017, 6:19 PM
Shikha S
How do i do this question. Fill in the blancks to create a list, reassign the 2 ellment and print the whole list. nums = [33, 42, 56] nums = [ ] =22 print ( )
python
-3 голосов
8 ответов
20th Jul 2016, 3:41 PM
Ethan
I do ES6 assign() in my div. I want to display ordered list. I have error. Thanks you sir.
and
assign()
display.
div
1 голос
1 ответ
4th Sep 2021, 9:17 AM
Malick Diagne
How to built a function where the parameter ecpect an integer in a list. Should look like this:
functions
lists
python3
0 голосов
4 ответов
20th May 2017, 9:58 AM
lars
Unordered list. 1. Is tag </li> not mandatory? 2. How to use tag <img> as <li type => in <ul> ?
html
1 голос
4 ответов
27th Jul 2019, 11:07 AM
UraL
Can anyone please write a C function to find sum of smallest and greatest information in a singly link list.
andriod
c
c++
java
python
0 голосов
2 ответов
21st Mar 2020, 6:12 AM
Rohit Negi
I have so much pending challenge list. None opponent accepts it . Very disappointing as I am not gaining xp's.
challenges
pending
sololearn
4 голосов
2 ответов
13th Sep 2017, 10:28 AM
HASHIR IMAM
Input a list, sort it using bubble sort and print the sorted even elements before the sorted odd elements in a single list.
bubblesort
python3
2 голосов
4 ответов
26th Nov 2019, 3:34 AM
Azmat
I want tolowercase() to convert values and also ignore null values in a list. What to do ?
javascript
0 голосов
1 ответ
19th Sep 2019, 9:23 AM
Yasik Raam
Write a program that read a number of words from the input and print them in the form of a comma-separated list.
cpp
5 голосов
1 ответ
23rd Feb 2018, 6:00 PM
Mohammadhadi Ghassemi
How can I take user inputs from forms add, edit and delete from list items on my html page. Just like adding a to-do list.
date
edit
forms
javascript
save
store
0 голосов
6 ответов
6th Jul 2020, 5:54 AM
Edward Ndiyo
How can I add the items of inner tuples and inner lists to the outer list. I have done this but how do I assign it
lists
python3
0 голосов
7 ответов
28th Jul 2020, 4:47 PM
Sevda Krithika Sharma
How do i fix this code. Im trying to pull an item from a list. Have that item mean a word, and pull it by using user input
help
int.input
python3
0 голосов
11 ответов
17th Oct 2018, 4:15 PM
pixel strength
How can I create or practice SQL code on sololearn, SQL IDE is not included on the code practice list.
sql
0 голосов
1 ответ
19th May 2023, 5:45 AM
Ola
Is there any faster( beside going through the whole loop O(n)) way to find the no of duplicates of a number from a sorted list.
algorithms,
datastructure,
searching,
0 голосов
5 ответов
20th Oct 2018, 6:51 AM
Kunal Kumar Thakur
isnt there any way to apply the for loop on each item of the list WHILE KEEPING THEM IN THE SAME LIST. ?
lists
loops
python
0 голосов
4 ответов
12th Aug 2016, 11:45 AM
Shoaib Azam
Create an integer list with the user given inputs. Write a program to print the count of particular element in the list.
python3
1 голос
1 ответ
11th Aug 2020, 5:23 PM
MASTANAIAH BANDI
A list contains so many odd and even numbers. How can I separate even numbers from list ant it stored in a new fresh list.
lists
0 голосов
2 ответов
26th Sep 2021, 5:06 AM
Hambire Ranjeet
Fill in the blanks to extract all items that are less than 5 from the list. nums = [1, 2, 5, 8, 3, 0, 7] res = list( filter
answer
-5 голосов
5 ответов
8th Nov 2020, 11:22 AM
Jack Bradshaw
I need a function that counts odds and even numbers in a list. This is what I have so far
python
0 голосов
1 ответ
1st Oct 2017, 7:23 AM
Reginald Wright
Write program that tells how many different types of values are their in the following list. L=[1, 6, 'list, 3.5, 'type, 'a', 8
need
solutions
-2 голосов
2 ответов
17th Dec 2020, 3:29 PM
Hima Varshini
4 is the correct answer. list(range(5)) = [0, 1, 2, 3, 4] and nums[4] is the 5th element of the list.
python
range
0 голосов
2 ответов
17th Mar 2017, 10:09 AM
Petrov Ilya V
I want to do a second unordered list Bottoms under the first with ordered list like the first Tops. Thanks you.
list
list.
ordered
second
unordered
with
0 голосов
1 ответ
3rd Mar 2021, 6:20 AM
Malick Diagne
I couldn't understand how to inherit from built-in list class in python and how does johny has access to functionality of list.
python3
0 голосов
1 ответ
6th Feb 2019, 4:07 PM
Vedant Bhosale
Write a program that reads in a set of positive integers and outputs how many times a particular number appears in the list.
java
-3 голосов
2 ответов
5th Jul 2022, 11:55 PM
Aiza Oberes
Given a set of 100 numbers write an algorithm to find the total number of even and odd numbers in the list. Also find their sum
algorithm
-1 голос
3 ответов
15th Apr 2020, 3:29 PM
Vedant Joshi
I have a doubt in list. If model class has a one list property then how can assign a value to that property ?
c#
0 голосов
1 ответ
1st Jun 2020, 10:51 AM
Sudha
Why does this loop not move past the 1st segment of the list? I want it to tell me how many times each number is in the list.
lists
while
0 голосов
3 ответов
3rd May 2020, 2:40 PM
WILLIAM QUINN
My heading is display After my unordered list item Link. I want to display heading first and second i want to do the unordered l
and
display
first
heading
list.
unordered
-1 голос
1 ответ
24th Feb 2021, 6:34 AM
Malick Diagne
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
< Предыдущий
1
2
3
Следующий >
Актуальное сегодня
Is the AI course worth the $49?
0 Votes
Can anyone please help with this below code for python files
1 Votes
How private are "private" code snippets in Sololearn really?
1 Votes
Should I always mention name attribute inside <input type="" id="" name="" > ??
0 Votes
Where to use
0 Votes
Coding path
0 Votes
Scroll to bottom of page in Selenium with browser minimized
0 Votes
How to win bits
1 Votes
Blank screen when trying to but AI course on Apple 15 I phone,
0 Votes
Question on code instructionn course. Update: anwsered
1 Votes