Utilisateur:Ârose

De {}
Révision datée du 17 octobre 2021 à 11:30 par Ârose (discussion | contributions) (What time is it ?)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche

<syntaxhighlight lang="python">

import time

print("What time is it?")

h = input("hh = ") m = input ("mm = ") print(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 >= 14 :

   print ("Zzzz Zzzz")

elif h > 16 :

   print("Mmm, but you don't even know my name")
   name = input ("My name is ")
   print("Ooh " + name + "! that shit is good")

else :

   print("I'm drunk and it is my birthday anyway")
   input("Really ")
   print("Baby")