Write a decorator twice(func) that makes a function run two times and return a list of both results. Then write roll() decorated with @twice that returns 6, and demo() that returns roll().
demo() → [6, 6]
Submit runs 1 tests, including hidden edge cases.
Run your code to see the output here.