An email address contains the @ character. Write a program that takes asks for an email address input from the user and determines whether it is a valid address or not. This is based on the presence of the @ character and no spaces in the string. You do not need to worry about any other characters in the input word. Output the result "The word IS an email address" or "The word IS NOT an email address" Example - Input: [email protected] Output: The word IS an email address Input: my123user Output: The word IS NOT an email address Your code should include comments to describe the program logic and use proper indentation for readability.

Solved
Show answers

Ask an AI advisor a question