CodeLab Academy 📞 9936 6696

🐍 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.
🐍 Python 🧩 Scratch 🎨 HTML/CSS 🖧 Networks
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 4: For loops

✅ Solved❌ Tried
#301 Print from 1 to n 🔒 #302 Loop: 1+2+...+n 🔒 #303 Multiples of 2 🔒 #304 Sum of numbers divisible by 2 🔒 #305 Multiplication table (1-5) 🔒 #306 Power with a loop 🔒 #307 Sum of powers of 2 🔒 #308 n numbers: sum 🔒 #309 Line of symbols: * 🔒 #310 Harmonic sum 🔒 #311 Alternating sum 🔒 #312 Number of divisors 🔒 #313 How many numbers in [a, b] are divisible by 2? 🔒 #314 i and i to the power 2 🔒 #315 Counting down by 2 🔒 #316 From a to b in steps of 2 🔒 #317 Progression: a₁=1, d=2 🔒 #318 Geometric progression: ratio 2 🔒 #319 Numbers greater than 0 🔒 #320 Students with 50+ points 🔒 #321 FizzBuzz: 1 to n 🔒 #322 Print from n down to 1 🔒 #323 Loop: 1²+2²+...+n² 🔒 #324 Multiples of 3 🔒 #325 Sum of numbers divisible by 3 🔒 #326 Multiplication table (1-9) 🔒 #327 n numbers: largest 🔒 #328 Line of symbols: # 🔒 #329 All divisors 🔒 #330 How many numbers in [a, b] are divisible by 3? 🔒 #331 i and i to the power 3 🔒 #332 Counting down by 3 🔒 #333 From a to b in steps of 3 🔒 #334 Progression: a₁=3, d=3 🔒 #335 Geometric progression: ratio 3 🔒 #336 Numbers greater than 10 🔒 #337 Students with 60+ points 🔒 #338 PinPong: 1 to n 🔒 #339 Even numbers up to n 🔒 #340 Loop: 1³+2³+...+n³ 🔒 #341 Multiples of 4 🔒 #342 Sum of numbers divisible by 4 🔒 #343 Multiplication table (1-10) 🔒 #344 n numbers: smallest 🔒 #345 Line of symbols: @ 🔒 #346 Sum of divisors 🔒 #347 How many numbers in [a, b] are divisible by 4? 🔒 #348 Counting down by 4 🔒 #349 From a to b in steps of 4 🔒 #350 Progression: a₁=5, d=10 🔒 #351 Numbers greater than 50 🔒 #352 Students with 70+ points 🔒 #353 MeowWoof: 1 to n 🔒 #354 Odd numbers up to n 🔒 #355 Loop: the sum of the even numbers up to n 🔒 #356 Multiples of 5 🔒 #357 Sum of numbers divisible by 5 🔒 #358 Multiplication table (1-12) 🔒 #359 n numbers: count of positive numbers 🔒 #360 How many numbers in [a, b] are divisible by 5? 🔒 #361 Counting down by 5 🔒 #362 From a to b in steps of 5 🔒 #363 Progression: a₁=0, d=7 🔒 #364 Numbers greater than 100 🔒 #365 Students with 80+ points 🔒 #366 TickTock: 1 to n 🔒 #367 Loop: the sum of the odd numbers up to n 🔒 #368 Multiples of 6 🔒 #369 Sum of numbers divisible by 6 🔒 #370 n numbers: count of even numbers 🔒 #371 How many numbers in [a, b] are divisible by 6? 🔒 #372 Counting down by 6 🔒 #373 From a to b in steps of 6 🔒 #374 Progression: a₁=100, d=-5 🔒 #375 Students with 90+ points 🔒 #376 BoomBam: 1 to n 🔒 #377 Loop: n! (1·2·...·n) 🔒 #378 Multiples of 7 🔒 #379 Sum of numbers divisible by 7 🔒 #380 n numbers: average (2 decimal places) 🔒 #381 How many numbers in [a, b] are divisible by 7? 🔒 #382 Counting down by 7 🔒 #383 From a to b in steps of 7 🔒 #384 Progression: a₁=2, d=4 🔒 #385 PingPong: 1 to n 🔒 #386 Multiples of 8 🔒 #387 Sum of numbers divisible by 8 🔒 #388 How many numbers in [a, b] are divisible by 8? 🔒 #389 Counting down by 8 🔒 #390 From a to b in steps of 8 🔒 #391 Progression: a₁=10, d=11 🔒 #392 Multiples of 9 🔒 #393 Sum of numbers divisible by 9 🔒 #394 How many numbers in [a, b] are divisible by 9? 🔒 #395 From a to b in steps of 9 🔒 #396 Progression: a₁=-10, d=3 🔒 #397 Multiples of 10 🔒 #398 Sum of numbers divisible by 10 🔒 #399 How many numbers in [a, b] are divisible by 10? 🔒 #400 Multiples of 11 🔒