text = '1456gtefd14696'
print('Число ', end='')
for i in text:
if i.isdigit():
print(i, end='')
def get_line_length():
with open("24.txt", "r") as file:
f = file.read()
letter_seq_list = f.replace("KL", " ").split()
max_seq = max(map(len, letter_seq_list))
return max_seq
if __name__ == "__main__":
print(get_line_length())
def search(text, word):
if text in word:
print("word found")
else:
print("word not found")
for i in set(num_list3):
if num_list3.count(i) > 1:
print(i)
def starships(url):
response_starships = requests.get(url).json()
for i in response_starships['results']:
print(i['name'])
print(i['max_atmosphering_speed'])