#1379691
Какой результат будет при выполнении следующего кода? def decorator(func): def wrapper(): print("Something before the function.") func() print("Something after the function.") return wrapper @decorator def say_hello(): print("Hello!") say_hello()
Варианты ответа:
- Hello!
- Something before the function. Hello! Something after the function.
- Error
- Hello! Something after the function.
Курсы в категории:
Математика и статистика