Skip to content

Conversation

@lukaszbec
Copy link
Contributor

@zamber final lesson finished

@@ -0,0 +1,13 @@
def get_text(name):
return "lorem ipsum, " + name + " dolor sit amet"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E111 indentation is not a multiple of four



def p_decorate(func):
def func_wrapper(name):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E111 indentation is not a multiple of four


def p_decorate(func):
def func_wrapper(name):
return "<p>" + func(name) + "</p>"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E111 indentation is not a multiple of four

def p_decorate(func):
def func_wrapper(name):
return "<p>" + func(name) + "</p>"
return func_wrapper
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E111 indentation is not a multiple of four


my_get_text = p_decorate(get_text)

print(my_get_text("John")) No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W292 no newline at end of file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants