0

How to fix this error ? I need an output =sololearn=

def decor(func): x = '=' return x + func() + x @decor def text(): s = 'sololearn' return s print(text())

11th Nov 2020, 8:16 AM
Rajan K
Rajan K - avatar
1 Answer
+ 1
Remove parentheses after func OR after text and remove @decor
11th Nov 2020, 8:29 AM
Benjamin JĂŒrgens
Benjamin JĂŒrgens - avatar