🐍 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 8: Nested loops
✅ Solved❌ Tried
#701
Pattern: Square (*)
🔒
#702
Pattern: Square (#)
🔒
#703
Pattern: Triangle (*)
🔒
#704
Pattern: Triangle (#)
🔒
#705
Pattern: Upside-down triangle
🔒
#706
Pattern: Pyramid (*)
🔒
#707
Pattern: Pyramid (#)
🔒
#708
Pattern: Pyramid (o)
🔒
#709
Pattern: Pyramid (+)
🔒
#710
Pattern: Pyramid (^)
🔒
#711
Pattern: Hollow square (*)
🔒
#712
Pattern: Hollow square (#)
🔒
#713
Pattern: Number triangle 1, 12, 123
🔒
#714
Pattern: Number triangle 1, 22, 333
🔒
#715
Pattern: Floyd's triangle
🔒
#716
Pattern: Diamond
🔒
#717
Pattern: Chessboard
🔒
#718
Pattern: X pattern
🔒
#719
Pattern: Hollow triangle
🔒
#720
Pattern: Right-aligned triangle
🔒
#721
Pattern: Letter triangle
🔒
#722
Pattern: Number square
🔒
#723
Pattern: Symmetric number pyramid
🔒
#724
Pattern: Decreasing number triangle
🔒
#725
Pattern: 0-1 triangle
🔒
#726
Pattern: Hourglass
🔒
#727
Pattern: Letter square
🔒
#728
Pattern: Pascal's triangle
🔒
#729
Multiplication table n×n
🔒
#730
Multiplication table a×b
🔒
#731
Multiplication table 1-5
🔒
#732
Matrix: Sum of all elements
🔒
#733
Matrix: Sum of each row
🔒
#734
Matrix: Sum of each column
🔒
#735
Matrix: Sum of the main diagonal
🔒
#736
Matrix: Sum of the other diagonal
🔒
#737
Matrix: Transposed matrix
🔒
#738
Matrix: Largest value of each row
🔒
#739
Matrix: Smallest value of each column
🔒
#740
Matrix: Is it symmetric? (`Yes`/`No`)
🔒
#741
Matrix: Rotate 90° clockwise
🔒
#742
Matrix: Position of the largest element (row column, from 1)
🔒
#743
Matrix: Sum of the border elements
🔒
#744
Matrix: Number of zeros
🔒
#745
Matrix: Number of the row with the largest sum (from 1, the first one)
🔒
#746
Matrix: Number of the column with the smallest sum (from 1, the first one)
🔒
#747
Matrix: Set the main diagonal to 0
🔒
#748
Matrix: Sum of the upper triangle (with the diagonal)
🔒
#749
Matrix: Sum of the lower triangle (with the diagonal)
🔒
#750
Matrix: elements greater than 0
🔒
#751
Multiply a matrix by 2
🔒
#752
Rows with a sum greater than 0
🔒
#753
Sum of two matrices
🔒
#754
Largest of two matrices, element by element
🔒
#755
Pairs with sum k
🔒
#756
Pairs with a sum divisible by 2
🔒
#757
Pairs with difference d
🔒
#758
Triples with sum 0
🔒
#759
Pairs with product k
🔒
#760
The two closest numbers
🔒
#761
Number of inversions
🔒
#762
Two dice: sum s
🔒
#763
Three dice: sum s
🔒
#764
Two 4-sided dice
🔒
#765
Primes up to n
🔒
#766
Pythagorean triples
🔒
#767
Twin primes
🔒
#768
Coins: 1, 2, 5
🔒
#769
Count the positive solutions of a + b + c = n
🔒
#770
Knight moves
🔒
#771
Squares on a board
🔒
#772
Rectangles on a board
🔒
#773
Bubble sort (every step)
🔒
#774
Swaps in selection sort
🔒
#775
Multiplication table 1-6
🔒
#776
Matrix: elements greater than 5
🔒
#777
Multiply a matrix by 3
🔒
#778
Rows with a sum greater than 10
🔒
#779
Pairs with a sum divisible by 3
🔒
#780
Two 8-sided dice
🔒
#781
Coins: 1, 5, 10
🔒
#782
Count the positive pairs with a · b = n (the order matters)
🔒
#783
Multiplication table 1-7
🔒
#784
Matrix: elements greater than 10
🔒
#785
Multiply a matrix by 4
🔒
#786
Rows with a sum greater than 20
🔒
#787
Pairs with a sum divisible by 4
🔒
#788
Two 10-sided dice
🔒
#789
Coins: 2, 3, 5
🔒
#790
Count the non-negative pairs with x² + y² = n
🔒
#791
Multiplication table 1-8
🔒
#792
Multiply a matrix by 5
🔒
#793
Pairs with a sum divisible by 5
🔒
#794
Two 12-sided dice
🔒
#795
Coins: 1, 3, 4
🔒
#796
Count the whole-number points inside a circle (x² + y² ≤ r²)
🔒
#797
Multiplication table 1-9
🔒
#798
Pairs with a sum divisible by 6
🔒
#799
Two 20-sided dice
🔒
#800
Coins: 5, 10, 20
🔒