What Will Be The Output Of The Following Python Codep Pre #146
What will be the output of the following Python code?</p> <pre><code class="language-python">def d(f): def n(*args): return '$' + str(f(*args)) return n @d def p(a, t): return a + a*t print(p(100,0))</code></pre>
This multiple choice question (MCQ) is related to the book/course
gs gs109 Python.
It can also be found in
gs gs109 Formatting & Decorators in Python - Python Decorators - Quiz No.2.