Utilisateur:Ârose
Révision datée du 25 octobre 2021 à 07:36 par Ârose (discussion | contributions)
<syntaxhighlight lang="python">
import time
print("What time is it?")
h = input("h : ") m = input ("min : ") print(f"{h}:{m}")
h = int(h) m = int(m)
if h <= 3 :
print("Mmm")
elif (h == 7) + (m == 48) :
print("Where, where are my, where are my") time.sleep(1) what = input("What...") if what == "?" : print("Where, where are my panties?") elif what == "??": print ("Oh my God, where are my panties?") else : print ("Damn, where?")
elif h <= 12 :
print("(Mmm) I know you want it") time.sleep(1.5) input("... ") print("Time") print(time.time(), "seconds since it is all yours") time.sleep(4) input("To let it out. It's time ") time.sleep(3) print(time.time()) localtime = time.gmtime() print("T-t-take this", localtime) time.sleep(4)
elif h <= 16 :
print("Mmm, but you don't even know my name") name = input ("My name is ") print(f"Ooh {name} shit is good") for indice in range(0, len(name)): print(f"{name[indice]} like...") time.sleep(0.5) input("... like what ? : ") time.sleep(0.5) print(f"What if you, what if you, what if you're the one {name} ?")
elif h >= 21 :
print("Zzz...") time.sleep(2) def Zzz(n): if(n <= 1): return n else: return (Zzz(n-1) + Zzz(n-2)) n = int(input("Zzz... How much ? : ")) print("Sleep Spiral") for i in range(n): print(Zzz(i)) time.sleep(0.1)
else :
print("I'm drunk and it is my birthday anyway") input("Really ") print("Baby")
</syntaxhighlight lang="python">