C
de
S
pace
Explore
Log In
Explore
Sign Up
Log In
rowankovalenko536
22.05.2026 11:22
0
Heap sort #16
Rewrote old code
core.py
def factorial(n): if n == 0: return 1 return n * factorial(n-1) print(factorial(5))
models.py
def reverse_string(s): return s[::-1] print(reverse_string("hello"))
Idle
Try It
Clear
Log in
to leave a comment
Are you sure you want to delete this post?
Delete
Cancel