3 ms·
>I just can't get it to behave like a therapist would import time import random SESSION_DURATION = 50 * 60 start_time = time.time() while True:
by coldtea 2y ago
>I just can't get it to behave like a therapist would
import time
import random
SESSION_DURATION = 50 * 60
start_time = time.time()
while True:
current_time = time.time()
elapsed_time = current_time - start_time
if elapsed_time >= SESSION_DURATION:
print("Our time is up. That will be $150. See you next week!")
break
_ = input("")
print(random.choice(["Mmm hmm", "Tell me more", "How does that make you feel?"]))
time.sleep(1)
Thank me later!
- RamblingCTO 2y agohaha, good one! although I'm German and it was free for me when I did it. I just had the best therapist. $150 a session is insane!