mirror of
https://github.com/Asabeneh/30-Days-Of-Python.git
synced 2026-06-12 21:01:48 +08:00
correct mistakes
This commit is contained in:
parent
9ae7833cd0
commit
47514b78d0
@ -369,7 +369,7 @@ def square_number (n):
|
||||
return n * n
|
||||
def do_something(f, x):
|
||||
return f(x)
|
||||
print(do_something(square_number, 3)) # 27
|
||||
print(do_something(square_number, 3)) # 9
|
||||
```
|
||||
|
||||
🌕 You achieved quite a lot so far. Keep going! You have just completed day 11 challenges and you are 11 steps a head in to your way to greatness. Now do some exercises for your brain and muscles.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user