Sponsored
Reserved space — layout preview until AdSense is connected
Python Basics
easy
Sum of digits
Return the sum of all decimal digits of a non-negative integer.
arithmetic
loops
+8 pts
10m
Python Basics
easy
Collatz steps
Count how many steps the Collatz sequence takes to reach 1 from n.
loops
math
+10 pts
12m
Python Basics
easy
Factorial (iterative)
Compute n! iteratively without recursion.
loops
math
+8 pts
8m
Python Basics
easy
Prime checker
Return True if n is a prime number.
math
loops
+10 pts
10m
OOP & Classes
easy
Stack class
Implement a Stack class with push, pop, peek, is_empty, and size.
OOP
stack
data-structures
+12 pts
15m
Showing 5 challenges · easy