Advertisement
Dimitar23308

2.6.24

Jun 2nd, 2024
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 5.76 KB | None | 0 0
  1. #1
  2. # text=input("Въведете текст")
  3. # text=text[5:]
  4. # text= text[::-1]
  5. # if text.isalpha():
  6. #     print(text)
  7. # else:
  8. #     print(False)
  9. #
  10.  
  11. #2
  12. # text = input().split()[::-1]
  13. # text = "-".join(text)
  14. # count_a = text.count("a")
  15. # print(text)
  16. # print(count_a)
  17.  
  18. #3
  19. # text = input()
  20. # text = text[::-1]
  21. # text = text.upper()
  22. # if text.startswith("A"):
  23. #     print(True)
  24. # else:
  25. #     print(False)
  26.  
  27. #4
  28. # text = input()
  29. # text = text[:-3]
  30. # text = text.lower()
  31. # text = text.capitalize()
  32. # print(text)
  33.  
  34. # #5
  35. # text = input()
  36. # text = text.split()[::-1]
  37. # text = " ".join(text)
  38. # count = text.count("e")
  39. # print(text)
  40. #
  41. # # 6
  42. # text = input()
  43. # text= text. replace("a", "o")
  44. # text.upper()
  45. # print(text)
  46. # if text.isalpha():
  47. #     print(True)
  48. # else:
  49. #     print(False)
  50.  
  51. # 7
  52. # text = input().split()
  53. # text = "-".join(text)
  54. # print(text)
  55.  
  56. # 8
  57. # text = input()
  58. # count_o=text.count("o")
  59. # text= text[5:]
  60. # if text.isdigit():
  61. #     print(True)
  62. # else:
  63. #     print(False)
  64. # 9
  65. # text = input()[::-1]
  66. # text=text.lower()
  67. # if text.startswith("t"):
  68. #     print(False)
  69. # else:
  70. #     print(False)
  71.  
  72. #10
  73. # text=input()
  74. # text = text.replace("a", "e")
  75. # text = text.split()
  76. # count_e= 0
  77. # for el in text:
  78.  
  79. #11
  80. # text = input()
  81. # text = text[:-4]
  82. # text = text.upper()
  83. # text = text.isalpha()
  84. # print(text)
  85. #12
  86. # text = input()
  87. # n_count = text.lower().count("n")
  88. # words = text.split()
  89. # starts_with_capital = #ne moga
  90. # print(text)
  91. # print(n_count)
  92. # print(words)
  93. # print(starts_with_capital)
  94.  
  95. #13
  96. # text = input()
  97. # text = text.replace("е", "и")
  98. # text = text[::-1]
  99. # i_count = text.count("и")
  100. # print(text)
  101. # print(i_count)
  102. #14
  103. # text = input()
  104. # text = text.split()
  105. # text = "_".join(words)
  106. # text= text.islower()
  107. # print(text)
  108.  
  109. #15
  110. # text = input()
  111. # text = text.lower()
  112. # o_count = text.count("о")
  113. # is_alpha = text.isalpha()
  114. # print(text)
  115. # print(o_count)
  116. # print(is_alpha)
  117.  
  118. #16
  119. # text = input()
  120. # reversed_text = text[::-1]
  121. # modified_text = reversed_text.replace("а", "у")
  122. # starts_with_u = modified_text.startswith("у")
  123. # result = f"{modified_text}, {starts_with_u}"
  124. # print(result)
  125.  
  126. # 17
  127. # #text = input("")
  128. # text=input()
  129. # text1 = text[3:]
  130. # lower_text = text1.lower()
  131. # i_count = lower_text.count("и")
  132. # result = f"{lower_text}, и = {i_count}"
  133. # print(result)
  134.  
  135. #18
  136.  
  137. # ne moga
  138.  
  139. #19
  140. # text = input()
  141. # upper_text = text.upper()
  142. # words = upper_text.split()
  143. # ends_with_o = (word.endswith("О") for word in words)
  144. # result = f"{upper_text}, {words}, {ends_with_o}"
  145. # print(result)
  146. #20
  147. # text = input()
  148. # sliced_text = text[:-3]
  149. # reversed_text = sliced_text[::-1]
  150. # only_digits = reversed_text.isdigit()
  151. # result = f"{reversed_text}, {only_digits}"
  152. # print(result)
  153. #21
  154. # text = input()
  155. # modified_text = text.replace("т", "д")
  156. # d_count = modified_text.count("д")
  157. # all_lower = modified_text.islower()
  158. # print(f"{modified_text}, д = {d_count}, {all_lower}")
  159. #22
  160. # text = input()
  161. # lower_text = text.lower()
  162. # words = lower_text.split()
  163. # starts_with_a = (word.startswith("а") for word in words)
  164. # print(f"{lower_text}, {words}, {starts_with_a}")
  165. #23
  166. # text = input()
  167. # v_count = text.count("в")
  168. # upper_text = text.upper()
  169. # ends_with_a = upper_text.endswith("А")
  170. # print(f"{upper_text}, в = {v_count}, {ends_with_a}")
  171. #24
  172. # text = input()
  173. # words = text.split()
  174. # joined_text = "/".join(words)
  175. # b_count = text.lower().count("б")
  176. # print(f"{joined_text}, б = {b_count}")
  177. #25
  178. # text = input()
  179. # reversed_text = text[::-1]
  180. # lower_text = reversed_text.lower()
  181. # a_count = lower_text.count("а")
  182. # print(f"{lower_text}, а = {a_count}")
  183. #26
  184. # text = input()
  185. # modified_text = text.replace("е", "а")
  186. # words = modified_text.split()
  187. # joined_text = "-".join(words)
  188. # print(f"{joined_text}")
  189. #27
  190. # text = input()
  191. # upper_text = text.upper()
  192. # sliced_text = upper_text[2:]
  193. # only_letters = sliced_text.isalpha()
  194. # print(f"{sliced_text}, {only_letters}")
  195. #28
  196. # text = input()
  197. # i_count = text.count("и")
  198. # reversed_text = text[::-1]
  199. # starts_with_a = reversed_text.startswith("а")
  200. # print(f"{reversed_text}, и = {i_count}, {starts_with_a}")
  201. #29
  202. # text = input()
  203. # words = text.split()
  204. # joined_text = ".".join(words)
  205. # e_count = sum(word.count("е") for word in words)
  206. # print(f"{joined_text}, е = {e_count}")
  207. #30
  208. # text = input()
  209. # sliced_text = text[:-2]
  210. # lower_text = sliced_text.lower()
  211. # only_digits = lower_text.isdigit()
  212. # print(f"{lower_text}, {only_digits}")
  213. #31
  214. # text = input()
  215. # modified_text = text.replace("и", "е")
  216. # reversed_text = modified_text[::-1]
  217. # ends_with_a = reversed_text.endswith("а")
  218. # print(f"{reversed_text}, {ends_with_a}")
  219. #32
  220. # text = input()
  221. # lower_text = text.lower()
  222. # o_count = lower_text.count("о")
  223. # starts_with_n = lower_text.startswith("н")
  224. # print(f"{lower_text}, о = {o_count}, {starts_with_n}")
  225. #33
  226. # text = input()
  227. # i_count = text.count("и")
  228. # words = text.split()
  229. # joined_text = ",".join(words)
  230. # print(f"{joined_text}, и = {i_count}")
  231. #34
  232. # ne moga
  233. #35
  234. # ne moga
  235. #36
  236. # text = input()
  237. # upper_text = text.upper()
  238. # u_count = upper_text.count("У")
  239. # ends_with_n = upper_text.endswith("Н")
  240. # print(f"{upper_text}, у = {u_count}, {ends_with_n}")
  241. #37
  242. # text = input()
  243. # sliced_text = text[3:]
  244. # words = sliced_text.split()
  245. # joined_text = "-".join(words)
  246. # print(f"{joined_text}")
  247. #38
  248. # text = input()
  249. # modified_text = text.replace("к", "т")
  250. # reversed_text = modified_text[::-1]
  251. # starts_with_t = reversed_text.startswith("т")
  252. # print(f"{reversed_text}, {starts_with_t}")
  253. #39
  254. # text = input()
  255. # e_count = text.count("е")
  256. # lower_text = text.lower()
  257. # only_letters = lower_text.isalpha()
  258. # print(f"{lower_text}, е = {e_count}, {only_letters}")
  259. #40
  260. # ne moga
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement