🐍 Python problems
👋 You can solve the first 3 problems of each track without an account. To solve the rest and collect points,
sign up for free or log in.
1. Input and output
0/100 solved
2. Arithmetic
0/100 solved
3. Conditions (if)
0/100 solved
4. For loops
0/100 solved
5. While loops
0/100 solved
6. Strings
0/100 solved
7. Lists
0/100 solved
8. Nested loops
0/100 solved
9. Functions and dicts
0/100 solved
10. Algorithms
0/100 solved
Level 7: Lists
✅ Solved❌ Tried
#601
List: sum
🔒
#602
List: largest value
🔒
#603
List: smallest value
🔒
#604
List: average (with 2 digits after the decimal point)
🔒
#605
List: range (largest - smallest)
🔒
#606
List: product
🔒
#607
List: number of even elements
🔒
#608
List: number of odd elements
🔒
#609
List: number of positive elements
🔒
#610
List: number of negative elements
🔒
#611
List: number of elements equal to zero
🔒
#612
Elements greater than 0
🔒
#613
Elements divisible by 2
🔒
#614
Sort in increasing order
🔒
#615
Sort in decreasing order
🔒
#616
Reverse the list
🔒
#617
Second largest value
🔒
#618
Second smallest value
🔒
#619
Values without repeats (increasing)
🔒
#620
Number of different values
🔒
#621
Median (with 1 digit after the decimal point)
🔒
#622
The most frequent value (if there is a tie, the smaller one)
🔒
#623
Position of the largest element
🔒
#624
Position of x
🔒
#625
Sum at even positions
🔒
#626
Sum at odd positions
🔒
#627
Rotate left by 1
🔒
#628
Rotate right by 1
🔒
#629
Rotate left by 2
🔒
#630
Rotate right by 2
🔒
#631
Rotate left by 3
🔒
#632
Rotate right by 3
🔒
#633
Rotate left by 4
🔒
#634
Rotate right by 4
🔒
#635
Rotate left by 5
🔒
#636
Rotate right by 5
🔒
#637
Turn each element into x·2+0
🔒
#638
Prefix sums
🔒
#639
Differences of neighbors
🔒
#640
Elements above the average
🔒
#641
Bigger than the one before
🔒
#642
Local peaks
🔒
#643
Merge the two lists and sort
🔒
#644
Intersection (values that are in both)
🔒
#645
Union (different values)
🔒
#646
Difference (in a, but not in b)
🔒
#647
Remove x
🔒
#648
Negatives to 0
🔒
#649
The 2 largest elements
🔒
#650
The 2 smallest elements
🔒
#651
The 3 largest elements
🔒
#652
The 3 smallest elements
🔒
#653
The 4 largest elements
🔒
#654
The 4 smallest elements
🔒
#655
The 5 largest elements
🔒
#656
The 5 smallest elements
🔒
#657
Equal neighbors
🔒
#658
Longest increasing part
🔒
#659
Is it sorted?
🔒
#660
Are all different?
🔒
#661
Sums of groups of 2
🔒
#662
Largest sum of a window of 2
🔒
#663
Value counts
🔒
#664
Values that appear only once
🔒
#665
Values that appear more than 1 times
🔒
#666
Even first, then odd
🔒
#667
Swap the first and the last
🔒
#668
Swap the largest and the smallest
🔒
#669
Elements in [0, 10]
🔒
#670
Even sum - odd sum
🔒
#671
Words in alphabetical order
🔒
#672
Sort words by length
🔒
#673
Records
🔒
#674
Sum of squares
🔒
#675
Sum of absolute values
🔒
#676
The k-th element
🔒
#677
Every 2th element
🔒
#678
Elements greater than 5
🔒
#679
Elements divisible by 3
🔒
#680
Turn each element into x·3+1
🔒
#681
Sums of groups of 3
🔒
#682
Largest sum of a window of 3
🔒
#683
Values that appear more than 2 times
🔒
#684
Elements in [10, 20]
🔒
#685
Every 3th element
🔒
#686
Elements greater than 10
🔒
#687
Elements divisible by 4
🔒
#688
Turn each element into x·-1+0
🔒
#689
Sums of groups of 4
🔒
#690
Largest sum of a window of 4
🔒
#691
Values that appear more than 3 times
🔒
#692
Elements in [-10, 0]
🔒
#693
Every 4th element
🔒
#694
Elements greater than 20
🔒
#695
Elements divisible by 5
🔒
#696
Turn each element into x·5+-5
🔒
#697
Sums of groups of 5
🔒
#698
Largest sum of a window of 5
🔒
#699
Elements in [5, 50]
🔒
#700
Elements greater than 50
🔒