🐍 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 5: While loops
✅ Solved❌ Tried
#401
While: number of digits
🔒
#402
How many times does the digit 0 appear?
🔒
#403
Collatz steps
🔒
#404
GCD (Euclid's algorithm)
🔒
#405
LCM
🔒
#406
Base 2
🔒
#407
When the sum goes over S
🔒
#408
When the sum of squares goes over S
🔒
#409
When a power of 2 goes over N
🔒
#410
Is it a prime number?
🔒
#411
Next prime number
🔒
#412
Read until 0: sum
🔒
#413
Savings 5%
🔒
#414
Divide by 2 until 0
🔒
#415
Digital root
🔒
#416
Armstrong number
🔒
#417
Perfect number
🔒
#418
Fibonacci: the n-th Fibonacci number (F₁ = F₂ = 1)
🔒
#419
Bacteria ×2
🔒
#420
Digit sum steps
🔒
#421
Trailing zeros of n!
🔒
#422
Words until stop
🔒
#423
Number + reversed number
🔒
#424
Is it a power of 2?
🔒
#425
Is the digit sum divisible by 3?
🔒
#426
Remove the digit 0
🔒
#427
Multiplicative persistence
🔒
#428
Numbers with digit sum 5
🔒
#429
While: sum of the digits
🔒
#430
How many times does the digit 1 appear?
🔒
#431
Base 3
🔒
#432
When a power of 3 goes over N
🔒
#433
Read until 0: count
🔒
#434
Savings 8%
🔒
#435
Divide by 3 until 0
🔒
#436
Fibonacci: the first Fibonacci number greater than N
🔒
#437
Bacteria ×3
🔒
#438
Is it a power of 3?
🔒
#439
Is the digit sum divisible by 5?
🔒
#440
Remove the digit 1
🔒
#441
Numbers with digit sum 6
🔒
#442
While: product of the digits
🔒
#443
How many times does the digit 2 appear?
🔒
#444
Base 4
🔒
#445
When a power of 4 goes over N
🔒
#446
Read until 0: largest
🔒
#447
Savings 10%
🔒
#448
Divide by 4 until 0
🔒
#449
Fibonacci: how many Fibonacci numbers are not greater than N (in the order 1, 1, 2, 3, 5, ..., counting both 1s)
🔒
#450
Bacteria ×4
🔒
#451
Is it a power of 4?
🔒
#452
Is the digit sum divisible by 7?
🔒
#453
Remove the digit 2
🔒
#454
Numbers with digit sum 7
🔒
#455
While: reversed number (example: 1230 → 321)
🔒
#456
How many times does the digit 3 appear?
🔒
#457
Base 5
🔒
#458
When a power of 5 goes over N
🔒
#459
Read until 0: average (2 decimal places)
🔒
#460
Savings 12%
🔒
#461
Divide by 5 until 0
🔒
#462
Bacteria ×5
🔒
#463
Is it a power of 5?
🔒
#464
Is the digit sum divisible by 9?
🔒
#465
Remove the digit 3
🔒
#466
Numbers with digit sum 8
🔒
#467
While: palindrome check (`Yes`/`No`)
🔒
#468
How many times does the digit 4 appear?
🔒
#469
Base 6
🔒
#470
When a power of 6 goes over N
🔒
#471
Savings 15%
🔒
#472
Divide by 6 until 0
🔒
#473
Is it a power of 6?
🔒
#474
Is the digit sum divisible by 11?
🔒
#475
Remove the digit 4
🔒
#476
Numbers with digit sum 9
🔒
#477
While: largest digit
🔒
#478
How many times does the digit 5 appear?
🔒
#479
Base 7
🔒
#480
When a power of 7 goes over N
🔒
#481
Savings 20%
🔒
#482
Divide by 7 until 0
🔒
#483
Is it a power of 7?
🔒
#484
Remove the digit 5
🔒
#485
Numbers with digit sum 10
🔒
#486
While: smallest digit
🔒
#487
How many times does the digit 6 appear?
🔒
#488
Base 8
🔒
#489
When a power of 8 goes over N
🔒
#490
Divide by 8 until 0
🔒
#491
Is it a power of 8?
🔒
#492
Remove the digit 6
🔒
#493
Numbers with digit sum 11
🔒
#494
While: number of even digits
🔒
#495
How many times does the digit 7 appear?
🔒
#496
Base 9
🔒
#497
When a power of 9 goes over N
🔒
#498
Divide by 9 until 0
🔒
#499
Is it a power of 9?
🔒
#500
Remove the digit 7
🔒