Ответ:
file = open('file.txt')
words = file.read().split(',')
word = input()
index = words.index(word)
del words[index]
print(','.join(words))
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
file = open('file.txt')
words = file.read().split(',')
word = input()
index = words.index(word)
del words[index]
print(','.join(words))