Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bodnár Zsombor
python-kszkepzes
Commits
d3aa4982
Commit
d3aa4982
authored
Mar 27, 2019
by
Bodor Máté
Browse files
v0.19
parent
ee2cc61a
Changes
1
Hide whitespace changes
Inline
Side-by-side
PITCHME.md
View file @
d3aa4982
...
...
@@ -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
+++
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment