Skip to content
Snippets Groups Projects
Commit d3aa4982 authored by Bodor Máté's avatar Bodor Máté
Browse files

v0.19

parent ee2cc61a
No related branches found
No related tags found
No related merge requests found
......@@ -496,7 +496,7 @@ print(minimum(3, 4, 2, -8, 6))
+++
- névszerinti paraméterátadás
- Névszerinti paraméterátadás
```python
def print_rectangle(w=0, h=0, x=0, y=0):
......@@ -607,6 +607,31 @@ Hello
---
### Dekorátor
+++
```python
def my_decorator(func):
def wrapper():
print("Before")
func()
print("After")
return wrapper
@my_decorator
def hello():
print("Hello")
````
Output:
```python
Before
Hello
After
### Osztályok
+++
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment