Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #1
- # text=input("Въведете текст")
- # text=text[5:]
- # text= text[::-1]
- # if text.isalpha():
- # print(text)
- # else:
- # print(False)
- #
- #2
- # text = input().split()[::-1]
- # text = "-".join(text)
- # count_a = text.count("a")
- # print(text)
- # print(count_a)
- #3
- # text = input()
- # text = text[::-1]
- # text = text.upper()
- # if text.startswith("A"):
- # print(True)
- # else:
- # print(False)
- #4
- # text = input()
- # text = text[:-3]
- # text = text.lower()
- # text = text.capitalize()
- # print(text)
- # #5
- # text = input()
- # text = text.split()[::-1]
- # text = " ".join(text)
- # count = text.count("e")
- # print(text)
- #
- # # 6
- # text = input()
- # text= text. replace("a", "o")
- # text.upper()
- # print(text)
- # if text.isalpha():
- # print(True)
- # else:
- # print(False)
- # 7
- # text = input().split()
- # text = "-".join(text)
- # print(text)
- # 8
- # text = input()
- # count_o=text.count("o")
- # text= text[5:]
- # if text.isdigit():
- # print(True)
- # else:
- # print(False)
- # 9
- # text = input()[::-1]
- # text=text.lower()
- # if text.startswith("t"):
- # print(False)
- # else:
- # print(False)
- #10
- # text=input()
- # text = text.replace("a", "e")
- # text = text.split()
- # count_e= 0
- # for el in text:
- #11
- # text = input()
- # text = text[:-4]
- # text = text.upper()
- # text = text.isalpha()
- # print(text)
- #12
- # text = input()
- # n_count = text.lower().count("n")
- # words = text.split()
- # starts_with_capital = #ne moga
- # print(text)
- # print(n_count)
- # print(words)
- # print(starts_with_capital)
- #13
- # text = input()
- # text = text.replace("е", "и")
- # text = text[::-1]
- # i_count = text.count("и")
- # print(text)
- # print(i_count)
- #14
- # text = input()
- # text = text.split()
- # text = "_".join(words)
- # text= text.islower()
- # print(text)
- #15
- # text = input()
- # text = text.lower()
- # o_count = text.count("о")
- # is_alpha = text.isalpha()
- # print(text)
- # print(o_count)
- # print(is_alpha)
- #16
- # text = input()
- # reversed_text = text[::-1]
- # modified_text = reversed_text.replace("а", "у")
- # starts_with_u = modified_text.startswith("у")
- # result = f"{modified_text}, {starts_with_u}"
- # print(result)
- # 17
- # #text = input("")
- # text=input()
- # text1 = text[3:]
- # lower_text = text1.lower()
- # i_count = lower_text.count("и")
- # result = f"{lower_text}, и = {i_count}"
- # print(result)
- #18
- # ne moga
- #19
- # text = input()
- # upper_text = text.upper()
- # words = upper_text.split()
- # ends_with_o = (word.endswith("О") for word in words)
- # result = f"{upper_text}, {words}, {ends_with_o}"
- # print(result)
- #20
- # text = input()
- # sliced_text = text[:-3]
- # reversed_text = sliced_text[::-1]
- # only_digits = reversed_text.isdigit()
- # result = f"{reversed_text}, {only_digits}"
- # print(result)
- #21
- # text = input()
- # modified_text = text.replace("т", "д")
- # d_count = modified_text.count("д")
- # all_lower = modified_text.islower()
- # print(f"{modified_text}, д = {d_count}, {all_lower}")
- #22
- # text = input()
- # lower_text = text.lower()
- # words = lower_text.split()
- # starts_with_a = (word.startswith("а") for word in words)
- # print(f"{lower_text}, {words}, {starts_with_a}")
- #23
- # text = input()
- # v_count = text.count("в")
- # upper_text = text.upper()
- # ends_with_a = upper_text.endswith("А")
- # print(f"{upper_text}, в = {v_count}, {ends_with_a}")
- #24
- # text = input()
- # words = text.split()
- # joined_text = "/".join(words)
- # b_count = text.lower().count("б")
- # print(f"{joined_text}, б = {b_count}")
- #25
- # text = input()
- # reversed_text = text[::-1]
- # lower_text = reversed_text.lower()
- # a_count = lower_text.count("а")
- # print(f"{lower_text}, а = {a_count}")
- #26
- # text = input()
- # modified_text = text.replace("е", "а")
- # words = modified_text.split()
- # joined_text = "-".join(words)
- # print(f"{joined_text}")
- #27
- # text = input()
- # upper_text = text.upper()
- # sliced_text = upper_text[2:]
- # only_letters = sliced_text.isalpha()
- # print(f"{sliced_text}, {only_letters}")
- #28
- # text = input()
- # i_count = text.count("и")
- # reversed_text = text[::-1]
- # starts_with_a = reversed_text.startswith("а")
- # print(f"{reversed_text}, и = {i_count}, {starts_with_a}")
- #29
- # text = input()
- # words = text.split()
- # joined_text = ".".join(words)
- # e_count = sum(word.count("е") for word in words)
- # print(f"{joined_text}, е = {e_count}")
- #30
- # text = input()
- # sliced_text = text[:-2]
- # lower_text = sliced_text.lower()
- # only_digits = lower_text.isdigit()
- # print(f"{lower_text}, {only_digits}")
- #31
- # text = input()
- # modified_text = text.replace("и", "е")
- # reversed_text = modified_text[::-1]
- # ends_with_a = reversed_text.endswith("а")
- # print(f"{reversed_text}, {ends_with_a}")
- #32
- # text = input()
- # lower_text = text.lower()
- # o_count = lower_text.count("о")
- # starts_with_n = lower_text.startswith("н")
- # print(f"{lower_text}, о = {o_count}, {starts_with_n}")
- #33
- # text = input()
- # i_count = text.count("и")
- # words = text.split()
- # joined_text = ",".join(words)
- # print(f"{joined_text}, и = {i_count}")
- #34
- # ne moga
- #35
- # ne moga
- #36
- # text = input()
- # upper_text = text.upper()
- # u_count = upper_text.count("У")
- # ends_with_n = upper_text.endswith("Н")
- # print(f"{upper_text}, у = {u_count}, {ends_with_n}")
- #37
- # text = input()
- # sliced_text = text[3:]
- # words = sliced_text.split()
- # joined_text = "-".join(words)
- # print(f"{joined_text}")
- #38
- # text = input()
- # modified_text = text.replace("к", "т")
- # reversed_text = modified_text[::-1]
- # starts_with_t = reversed_text.startswith("т")
- # print(f"{reversed_text}, {starts_with_t}")
- #39
- # text = input()
- # e_count = text.count("е")
- # lower_text = text.lower()
- # only_letters = lower_text.isalpha()
- # print(f"{lower_text}, е = {e_count}, {only_letters}")
- #40
- # ne moga
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement