I have this code, but why when the time reach 0:30 nothing happens, where is my error?:
import datetime
def a():
timing = [0, 30] #hours, #minutes
while True:
now = datetime.datetime.now()
datas = [now.hour, now.minute]
if datas == timing:
a.x = 5
def b():
a()
if "he" == "he":
print(2)
if a.x == 5:
print("VER")
b()
whileloop, soa()never returns.breakorreturnto theifblock ina().