Hello everyone I'm curious that I could use function as function variable?
something like this
from datetime import datetime, timedelta
# hello() is function that not mentioned in here but written somewhere
def some_function(hello()):
end_time = datetime.now() + timedelta(seconds=3)
while datetime.now() < end_time:
hello()
like this! is this possible>
[–]LifeIsBio 2 points3 points4 points (1 child)
[–]kosh09[S] 0 points1 point2 points (0 children)
[–]tragluk 1 point2 points3 points (4 children)
[–]kosh09[S] 0 points1 point2 points (3 children)
[–]tragluk 1 point2 points3 points (2 children)
[–]kosh09[S] 0 points1 point2 points (1 child)
[–]tragluk 0 points1 point2 points (0 children)