Untitled
unknown
python
2 years ago
266 B
17
Indexable
#Desafio:
from datetime import datetime
def mostrar_hora(funcao):
def hora_atual():
print(datetime.now())
funcao()
print(datetime.now())
return hora_atual
@mostrar_hora
def foto():
print("Olha a foto!")
foto()Editor is loading...
Leave a Comment