+ 1

THE DECORATION PROBLEMS OF RECURSION FUNCTION.

The problem 1. You can't use another name of decorated function, because recursion. The problem 2. I can't find the way to change the parameter of decoration. My solution is simple, you just need to save the undecorated function, and use it for resetting of decorations. MAY BE THERE IS ANOTHER WAY? AND HOW CHANGE THE PARAMRTER WHEN YOU USE @? https://code.sololearn.com/cLVwQuD9l9yq/?ref=app https://code.sololearn.com/cLVwQuD9l9yq/?ref=app https://code.sololearn.com/cLVwQuD9l9yq/?ref=app

22nd Oct 2019, 8:56 AM
Keskil
Keskil - avatar
2 Answers
0
ŠžŠ¹ как сложно!
10th Nov 2019, 1:30 PM
Š˜Š³Š¾Ń€ŃŒ ŠžŠ»ŠøŠæŠ°
Š˜Š³Š¾Ń€ŃŒ ŠžŠ»ŠøŠæŠ° - avatar
0
Дпасибо за коммент. Как проще ŃŠ“ŠµŠ»Š°Ń‚ŃŒ?
10th Nov 2019, 2:04 PM
Keskil
Keskil - avatar