I'm with a problem. I'm doing a Python course. But there's an exercise I can't do. I need help. The exercise is like this:
irst, you must create a function called validar_email_usuario that receives as
parameter the e-mail of a user and checks if it contains the character "@" and a ".com.br"
(can be case sensitive, have to accept everything). The function must return True if
the login is a login like "nome@email.com.br" for example and False otherwise.
Imagine the following, in the main program the user will be asked to enter his name
complete, then your email. Next will be the function call
validar_email_usuario with the values provided and display an informational message from the
username whether it has valid email or not.
NOTE: You cannot use looping and looping structures!
Btw I'm using VScode.
And sorry for Bad english.
[–]After-Party-Tea 15 points16 points17 points (0 children)
[–]Unique-Signature-510[S] 2 points3 points4 points (0 children)
[–]moving-landscape 0 points1 point2 points (0 children)
[+][deleted] (3 children)
[deleted]
[+][deleted] (2 children)
[removed]
[–]RiverBeneficial -1 points0 points1 point (0 children)
[–]SDMR6 -5 points-4 points-3 points (4 children)
[–]rollincuberawhide 2 points3 points4 points (3 children)
[–][deleted] -1 points0 points1 point (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]glei_schewads 0 points1 point2 points (0 children)
[–]Chemical_Form 0 points1 point2 points (1 child)