Get how many space string
Alaa_Najmi Feb 14th, 2020 155 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- string = "مرحبا انا استخدم لغة بايثون"
- for i in string:
- if (i.isspace()) == True:
- if count != 0 :
- print("لاتوجد مسافات")
RAW Paste Data