لقد قمت بعمل مشروع بلغة بايثون يعد عدد الكلمات اللتي في النص اللذي أدخل له وأريد مشاركة الكود معكم.
I did a Python project that counts the number of words in the text I enter and I want to share the code with you.
def count_words(string: str):
string = string.split()
return len(string)
print(count_words("Moaz Omar Hamdy"))