PYTHON_WITH_MOHAMMAD Telegram 59
تا اینجا می بینم دارید به سوالات به درستی جواب می دید، ایول!!

حالا کد های پایین رو ببینید، میاد و تعداد کارکتر هایی که تایپ شون اون چیزی هست که مد نظرمونه(ascii_letters) رو بر می گردونه.
import string

s = "Salam man be hame"
# Counting the number of ASCII letters in the string
count = sum(1 for char in s if char in string.ascii_letters)
print(count)

@python_with_mohammad



tgoop.com/python_with_mohammad/59
Create:
Last Update:

تا اینجا می بینم دارید به سوالات به درستی جواب می دید، ایول!!

حالا کد های پایین رو ببینید، میاد و تعداد کارکتر هایی که تایپ شون اون چیزی هست که مد نظرمونه(ascii_letters) رو بر می گردونه.

import string

s = "Salam man be hame"
# Counting the number of ASCII letters in the string
count = sum(1 for char in s if char in string.ascii_letters)
print(count)

@python_with_mohammad

BY آموزش پایتون و برنامه نویسی


Share with your friend now:
tgoop.com/python_with_mohammad/59

View MORE
Open in Telegram


Telegram News

Date: |

3How to create a Telegram channel? It’s easy to create a Telegram channel via desktop app or mobile app (for Android and iOS): Channel login must contain 5-32 characters The group’s featured image is of a Pepe frog yelling, often referred to as the “REEEEEEE” meme. Pepe the Frog was created back in 2005 by Matt Furie and has since become an internet symbol for meme culture and “degen” culture. Members can post their voice notes of themselves screaming. Interestingly, the group doesn’t allow to post anything else which might lead to an instant ban. As of now, there are more than 330 members in the group.
from us


Telegram آموزش پایتون و برنامه نویسی
FROM American