MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / addressVal

Function addressVal

Address Validator/AddressValidator.py:1–9  ·  view source on GitHub ↗
(address)

Source from the content-addressed store, hash-verified

1def addressVal(address):
2 dot = address.find(".")
3 at = address.find("@")
4 if (dot == -1):
5 print("Invalid")
6 elif (at == -1):
7 print("Invalid")
8 else:
9 print("Valid")
10
11print("This program will decide if your input is a valid email address")
12while(True):

Callers 1

Calls 1

findMethod · 0.80

Tested by

no test coverage detected