SaveText.Ru

Без имени
  1. print("Privet. V dannoi programme ti mozhesh ispolzovat tol'ko takie slova kak  Morning (Ytro) Day (Den) Evening (Vecher) Night (Noch) Spring (Vesna) Summer (Leto) Autumn (Ocen) Winter (Zima). Have a good time!")
  2. print ( )
  3. season = input("Vremya goda: ")
  4. time = input("Vremya sytok: ")
  5. if season == "Summer":
  6.     print("Na ylice teplo, pochki rasspuskautsya")
  7.     if time == "Morning":
  8.         print("Pozavtrakay, a zatem idi gulyat")
  9.     if time == "Day":
  10.         print("Samoe vremya vyiti na ylitsy!")
  11.     if time == "Evening":
  12.         print("Skoro spat, prihodi domoi k 10 chasam!")
  13.     if time == "Night":
  14.         print("Idi spat, a zavtra vihodi na ylitsy")
  15. else:
  16.             print("Prosti. Ya tebya ne ponimau.")
  17.  

Share with your friends:

Print