🐍 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 9: Functions and dicts
✅ Solved❌ Tried
#801
Word count
🔒
#802
Most common word
🔒
#803
Most common character
🔒
#804
Letter count
🔒
#805
Anagram?
🔒
#806
Isogram?
🔒
#807
Sum of primes
🔒
#808
The n-th prime
🔒
#809
Prime factors
🔒
#810
Different prime divisors
🔒
#811
Sieve of Eratosthenes
🔒
#812
First n Fibonacci numbers
🔒
#813
Tribonacci
🔒
#814
Phone book
🔒
#815
Average score of students
🔒
#816
Warehouse
🔒
#817
Number of different words
🔒
#818
Common words of two sentences
🔒
#819
Symmetric difference
🔒
#820
Recursion: power
🔒
#821
Recursion: factorial
🔒
#822
Recursion: digit sum
🔒
#823
Recursion: GCD
🔒
#824
Tower of Hanoi: number of moves
🔒
#825
Tower of Hanoi: the moves
🔒
#826
Combinations C(n, k)
🔒
#827
Permutations
🔒
#828
Subsets with sum k
🔒
#829
Roman to Arabic
🔒
#830
Arabic to Roman
🔒
#831
Two sum (positions)
🔒
#832
Longest word with no repeated letters
🔒
#833
To Morse code
🔒
#834
From Morse code
🔒
#835
Function f(x) = x²
🔒
#836
Function composition (p=1, q=2)
🔒
#837
Cafe: order total
🔒
#838
Day of the year
🔒
#839
Days between two dates
🔒
#840
Day of the week
🔒
#841
Vowels in each word
🔒
#842
Letters only in the first word
🔒
#843
Unpack a compressed string
🔒
#844
Word length histogram
🔒
#845
Happy number
🔒
#846
Harshad number
🔒
#847
Kaprekar steps
🔒
#848
Automorphic number
🔒
#849
Strong number
🔒
#850
Spy number
🔒
#851
Digit sum in base 2
🔒
#852
Numbers coprime to 6
🔒
#853
Recurrent sequence (×2 + 1)
🔒
#854
Sum of digits to the power 2
🔒
#855
Words longer than average
🔒
#856
Different substrings of length 2
🔒
#857
Translator: English → Mongolian (animals)
🔒
#858
Reverse a dictionary
🔒
#859
Digits as words
🔒
#860
Function f(x) = x² + 2x + 1
🔒
#861
Function composition (p=5, q=3)
🔒
#862
Tea house: order total
🔒
#863
Digit sum in base 3
🔒
#864
Numbers coprime to 10
🔒
#865
Recurrent sequence (×3 + 0)
🔒
#866
Sum of digits to the power 3
🔒
#867
Different substrings of length 3
🔒
#868
Translator: English → Mongolian (colors)
🔒
#869
Function f(x) = 2x² - 3x + 1
🔒
#870
Function composition (p=-3, q=4)
🔒
#871
Pizza place: order total
🔒
#872
Digit sum in base 4
🔒
#873
Numbers coprime to 12
🔒
#874
Recurrent sequence (×2 + -1)
🔒
#875
Sum of digits to the power 4
🔒
#876
Different substrings of length 4
🔒
#877
Translator: English → Mongolian (numbers)
🔒
#878
Function f(x) = 3x² - 5
🔒
#879
Function composition (p=10, q=-1)
🔒
#880
Grocery store: order total
🔒
#881
Digit sum in base 5
🔒
#882
Numbers coprime to 15
🔒
#883
Recurrent sequence (×1 + 5)
🔒
#884
Sum of digits to the power 5
🔒
#885
Translator: English → Mongolian (family)
🔒
#886
Function f(x) = -x² + 4x
🔒
#887
Stationery shop: order total
🔒
#888
Digit sum in base 6
🔒
#889
Numbers coprime to 30
🔒
#890
Recurrent sequence (×3 + 2)
🔒
#891
Function f(x) = x² - x - 1
🔒
#892
Toy store: order total
🔒
#893
Digit sum in base 7
🔒
#894
Recurrent sequence (×5 + -3)
🔒
#895
Function f(x) = 2x² + 2x + 2
🔒
#896
Digit sum in base 8
🔒
#897
Function f(x) = 5x² + 3
🔒
#898
Digit sum in base 9
🔒
#899
Function f(x) = 7x - 2
🔒
#900
Function f(x) = 4x² - 4x + 1
🔒