Python -Programm, das 2 Wörter als Eingabe vom Benutzer aufnimmt und eine Liste ausdruckt, die die Buchstaben enthält, die die 2 Wörter gemeinsam haben
firstWord = input("Enter the First word: ").lower()
secondWord = input("Enter the Second word: ").lower()
print("----------------------")
hehe = []
for i in firstWord:
for j in secondWord:
if i == j:
hehe.append(j)
print(hehe)
print("----------------------")
Awmrit