please use Python
You are to create a program that generates an email addresses.
The format is as follows:
firstname.lastname@domain.topleveldomain (maximum 60
characters)
example (aaa.bbb@ccc.ddd)
please use any number of variables and types that you wish. The only requirement is that you ask the user one at a time for first name, last name, domain and TLD (top level domain), use that to generate the email address string. The maximum size of the created email address string is 60. If the email address exceeds 60 you should give the user an error message indicating the generated email address is too long.
Here is the completed code for this problem in Python 3. Comments are included, go through it, learn how things work and let me know if you have any doubts or if you need anything to change. If you are satisfied with the solution, please rate the answer. Thanks
VERY IMPORTANT NOTE: Please maintain proper code spacing (indentation), just copy the code part and paste it in your compiler/IDE directly, no modifications required.
#code
#reading first name, last name, domain and TLD separately
firstname=input("please enter your firstname: ")
lastname=input("please enter your lastname: ")
domain=input("please enter the domain name: ")
TLD=input("please enter the top level domain name: ")
#concatenating these strings and adding '.' and '@' at proper places to generate the email
email=firstname+'.'+lastname+'@'+domain+'.'+TLD
#if email address is too long, displaying an error, otherwise displaying the address
if len(email)>60:
print('Error! The generated email address is too long.')
else:
print('The generated email address:',email)
#output 1

#output 2

please use Python You are to create a program that generates an email addresses. The format...
In C++ write a complete and correct x++ program that generates student email addresses and prints them to the screen based upon the data found in an input file, called students . txt. Each line of the space, followed by the student’s last name. Every email address is to be of the form username@university.ca. In general, each username has four parts in this order: (i) the student; last name in lowercase letters; (ii) a number between 10- 99 generated at...
Using Microsoft Visual Studio C#
In this lab assignment, you'll write code that parses an email address and formats the ci and zip code portion of an address. String Handling Email: nne@murach.com Parse City: Fresno State: ca Zp code: 93722 Format ให้ 2 Parsed String Formatted String User name: anne Domain name: murach.comm City, State, Zip: Fresno, CA 93722 OK OK Create a new Windows Forms Application named StringHandling and build the form as shown above. 1. Add code to...
(Python) Develop a crawler that collects the email addresses in the visited web pages. You can write a function emails() that takes a document (as a string) as input and returns the set of email addresses (i.e., strings) appearing in it. You should use a regular expression to find the email addresses in the document. Explain the code and how it works.
Please write code using Python.
Rubric
Assignment Solution Total: 100 pts
Program successfully retrieves and validates user input 15
pts
Morse Code Function Created 10 pts
Function Uses Parameters to get input message 15 pts
Function successfully converts passed message to Morse Code
and returns the Morse Code equivalent of message 45 pts
Program calls Morse Code function and outputs the result of
the function (i.e. the actual Morse Code) 15 pts
Main Function Requirement
Part 2 MUST have a...
USE IDLE PLATFORM FOR PYTHON PLEASE Write a Python program that creates a list that contains players of your favorite teams. The program then should ask the user to enter the name of a player. If the player is in your list, display a message indicating that the player is in the team. Otherwise, the program should display a message stating that the player isn't on the team.
Assignment 14.3: Valid Email (10 pts)
image source
Write a program that takes as
input an email address, and reports to the user whether or not the
email address is valid.
For the purposes of this
assignment, we will consider a valid email address to be one that
contains an @ symbol
The program must allow the user
to input as many email addresses as desired until the user enters
"q" to quit.
For each email entered, the
program should...
C++ : Please include complete source code in answer This program will have names and addresses saved in a linked list. In addition, a birthday and anniversary date will be saved with each record. When the program is run, it will search for a birthday or an anniversary using the current date to compare with the saved date. It will then generate the appropriate card message. Because this will be an interactive system, your program should begin by displaying a...
Python code
Write a program that will ask the user to input two strings, assign the strings to variables m and n If the first or second string is less than 10 characters, the program must output a warning message that the string is too short The program must join the strings m and n with the join function The output must be displayed. Please name the program and provide at least one code comment (10)
Python Coding The script, `eparser.py`, should: 1. Open the file specified as the first argument to the script (see below) 2. Read the file one line at a time (i.e., for line in file--each line will be a separate email address) 3. Print (to the screen) a line that "interprets" the email address as described below 4. When finished, display the total number of email addresses and a count unique domain names Each email address will either be in the...
Write a Python program to create userids: You work for a small company that keeps the following information about its clients: • first name • last name • a user code assigned by your company. The information is stored in a file clients.txt with the information for each client on one line (last name first), with commas between the parts. In the clients.txt file is: Jones, Sally,00345 Lin,Nenya,00548 Fule,A,00000 Your job is to create a program assign usernames for a...