+ 1
Please help, have been getting error message since past 3 days now. can't pass this level even when the answer is right.
have been getting error message since past 3 days now. can't pass this level even when the answer is right. On Decorators Oops, Error! error_image Sorry! It seems something went wrong on our end! Go Back
10 odpowiedzi
+ 4
To me I think solo learn is rubbish a beginner can't learn with solo learn cause they will make mistake and that normal but they will rub out of heart so easily and wait for another 5 hours before learning again that rubbish it will make them give up easily and quit learning and maybe find another app to learn from where they will not run out of heart as for me I say codeliber is the best
+ 7
Segun Ajayi please provide us with what you have done so that we can attempt to troubleshoot, as well as the exercise you are doing.
+ 4
Segun Ajayi I have not completed that course, but if its multiple choice and none of the answers work, if you have bits you can use those to pass that lesson. By pressing the 🔓 answer button. If none of that work report the bug to sololearn:
info@sololearn.com
+ 3
Segun Ajayi are you referring to
def some_decorator(func):
def wrapper(*args,**kwargs)
+ 1
Wdym
+ 1
Segun Ajayi Python allows you to use decorators in a simpler way with the @ symbol, sometimes called the pie syntax.
@my_dec is a shorthand for my_func = my_dec(my_func)
Reference: https://realpython.com/primer-on-python-decorators/
0
I was doing the last exercise on decorators
0
BroFar I guess this has to do with one of the python courses.
https://www.sololearn.com/Discuss/3276944/?ref=app
0
I was doing the last exercise on "decorators" for (Python Developer) always throws an error.
0
Am referring to this... == Functional Programing/Decorators
Which statement can be used to achieve the same behavior as my_func = my_dec(my_func)?
1. @my_dec
2. my_func = @my_dec
3. my_dec(my_func)