Which method to check if string index is queal to character.

Bischoop Bischoop at vimart.net
Mon Dec 28 12:37:36 EST 2020


On 2020-12-28, Stefan Ram <ram at zedat.fu-berlin.de> wrote:
>
>   "@" in s
>

That's what I thought.

>>I want check if string is a valid email address.
>
>   I suggest to first try and define "valid email address" in English.
>
>

A valid email address consists of an email prefix and an email domain,
both in acceptable formats. The prefix appears to the left of the @ symbol.
The domain appears to the right of the @ symbol.
For example, in the address example at mail.com, "example" is the email prefix,
and "mail.com" is the email domain.

--
Thanks


More information about the Python-list mailing list