Ответ:
Решение на Python:
word = "incomprehensibility"
for letter in word:
if letter not in ["i", "n"]:
print(letter)
Первый вариант программы:word = "incomprehensibility"
if letter not in ['i', 'n']:
print(letter)Второй вариант программы:
result = ""
result += letter
print(result)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
Решение на Python:
word = "incomprehensibility"
for letter in word:
if letter not in ["i", "n"]:
print(letter)
Первый вариант программы:
word = "incomprehensibility"
for letter in word:
if letter not in ['i', 'n']:
print(letter)
Второй вариант программы:
word = "incomprehensibility"
result = ""
for letter in word:
if letter not in ['i', 'n']:
result += letter
print(result)