LearnPy Hub
← Decorators problems
Easy

Double the Result

Write a decorator double that doubles a function's return value. Decorate add(a, b) and print add(a, b) for the input.

Input

Two integers on one line.

Output

One integer.

Sample 1

Input
2 3
Output
10

Sample 2

Input
0 0
Output
0
solution.py
Output appears here
Double the Result · Python practice problem · LearnPy Hub