Информатика, вопрос задал persona2672727 , 1 год назад

Будь ласка зробіть номер 5 , даю 40 балів. Інформатика 8 клас

Приложения:

Ответы на вопрос

Ответил Jsgsgsjsnsvxgs
0

with open("t.txt", "r") as input_file:

with open("cif.txt", "w") as cif_file:

with open("other.txt", "w") as other_file:

for line in input_file:

for char in line:

if char.isdigit():

cif_file.write(char)

else:

other_file.write(char)

Новые вопросы