4 תשובות
את עושה split למחרוזת לפי הרווח אז לוקחת את התו הראשון
def acronyms(sentence):
words = sentence.split()
acronyms = ""
for i in range(len(words)):
acronyms += words[i][0]

return acronyms
שואל השאלה:
זה כותב שגיאה אנונימית 1111
אנונימית
תנסי עכשיו