fork download
  1.  
  2. """
  3. wyraz = "lokomotywa"
  4. spolgloski = "bcdfgkl"
  5. ile = 0
  6.  
  7.  
  8.  
  9. for i in range(len(wyraz)):
  10. if wyraz[i] in spolgloski:
  11. ile = ile + 1
  12. print(ile)
  13.  
  14. samogloski = "aeiouyAEIOUY"
  15. wyraz = "lokomotywa"
  16. ile = 0
  17.  
  18. for i in range(len(wyraz)):
  19. if wyraz[i] in samogloski:
  20. ile = ile + 1
  21. print(ile)
  22.  
  23. wyraz = input("podaj: ")
  24. litery = "qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM"
  25. ile = 0
  26.  
  27.  
  28. for i in range(len(wyraz)):
  29. if wyraz[i] not in litery:
  30. ile = ile + 1
  31. print(ile)
  32.  
  33. wyraz = input("podaj: ")
  34. spacja = " "
  35. ile = 0
  36.  
  37.  
  38. for i in range(len(wyraz)):
  39. if wyraz[i] in spacja:
  40. ile = ile + 1
  41. print(ile)
  42. """
  43. wyraz = "sklep"
  44.  
  45. for i in range(len(wyraz)):
  46. print(wyraz[-1])
  47. print(wyraz[-2])
  48. print(wyraz[-3])
  49. print(wyraz[-4])
  50. print(wyraz[-5])
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
Success #stdin #stdout 0.05s 63072KB
stdin
Standard input is empty
stdout
p
e
l
k
s
p
e
l
k
s
p
e
l
k
s
p
e
l
k
s
p
e
l
k
s