For this challenge, keep it simple: one "@", something before it, and a dot in the part after it. Real-world validation is best done by sending a confirmation email — no regex catches everything.
EMEmmaCodesOPreplies: 1
Simple rules + confirmation email. Practical.
LULucasVD
That one-liner is gold. Using it everywhere now.
LILiamByte
Joining words with single spaces: " ".join(name.split()) collapses any amount of whitespace. Nice trick for clean_name.
Comments 4
Log in to join the discussion.
Log in Create accountFor this challenge, keep it simple: one "@", something before it, and a dot in the part after it. Real-world validation is best done by sending a confirmation email — no regex catches everything.
Simple rules + confirmation email. Practical.
That one-liner is gold. Using it everywhere now.
Joining words with single spaces:
" ".join(name.split())collapses any amount of whitespace. Nice trick for clean_name.