(address)
| 1 | def 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 | |
| 11 | print("This program will decide if your input is a valid email address") |
| 12 | while(True): |