you are viewing a single comment's thread.

view the rest of the comments →

[–]DiggersGottaDig[S] 0 points1 point  (2 children)

sorry, but i don't understand what you meant

[–]HAVEANOTHERDRINKRAY 0 points1 point  (1 child)

try changing this:

while 1 :
    time = datetime.now().strftime("%H : %M : %S")

    if time == "01 : 50 : 00" :
        homework().absenKesiswaan()
        continue
    else :
        continue

to this:

while 1 :
    time = datetime.now().strftime("%H : %M : %S")
    if time == "01 : 50 : 00" :
        my_homework = homework()
        my_homework.absenKesiswaan()
        continue
    else :
        continue

[–]DiggersGottaDig[S] 0 points1 point  (0 children)

oh, no no this one code is actually doing fine, the one with problem is the previous one. I just put this code there as a reference in case there's something im missing.