from random import randint
letters = list(map(str, input("Буквы: ")))
str1 = list(map(str, input("Строка: ")))
str1[randint(0, len(str1)-1)] = letters[randint(0, len(letters)-1)]
for i in str1:
print(i, end = "")
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
from random import randint
letters = list(map(str, input("Буквы: ")))
str1 = list(map(str, input("Строка: ")))
str1[randint(0, len(str1)-1)] = letters[randint(0, len(letters)-1)]
for i in str1:
print(i, end = "")