Create a function called myemail that takes two arguments: a first name and a last name,...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Create a function called myemail that takes two arguments: a first name and a last name, and returns a email address in lower case. The email is made by taking the first letter of the first name and the first 5 letters of the last name and adding 01 and @to the end.For example, @my.shepherdcollege.com the function call: myemail(Amelia Earhart') Create a function called myemail that takes two arguments: a first name and a last name, and returns a email address in lower case. The email is made by taking the first letter of the first name and the first 5 letters of the last name and adding 01 and @to the end.For example, @my.shepherdcollege.com the function call: myemail(Amelia Earhart')
Expert Answer:
Answer rating: 100% (QA)
Certainly Heres a Python function called myemail that creates an emai... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
A 30 kg object with a speed of 2.0 m/s in the positive x direction has a head-on elastic collision with a stationary 0.70 kg object located at x = 0. What is the distance separating the objects 2.5 s...
-
The Crazy Eddie fraud may appear smaller and gentler than the massive billion-dollar frauds exposed in recent times, such as Bernie Madoffs Ponzi scheme, frauds in the subprime mortgage market, the...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Northwest Building Products (NBP) manufactures two lumber products from a joint milling process: residential building lumber (RBL) and commercial building lumber (CBL). A standard production run...
-
The bent rod EBD rotates at the constant rate 1 = 8 rad/s. Knowing that collar A moves upward along the rod at a constant relative speed u = 600 mm/s and that = 60?, determine (a) The velocity of A,...
-
Data for Tatung Electronics are presented in BE6.3. Compute the cost of the ending inventory under the LIFO method, assuming there are 420 units on hand. BE6.3 In its first month of operations,...
-
Solve Exercise 16 in Chapter 14 assuming that the annual storage cost of cut lumber is \(5 \%\) of its value. Data from Exercises 16 chapter 14 You are considering an investment in a tree farm. Trees...
-
Sues Gallery sells original paintings by local artists. All sales occur in the store. Sometimes customers purchase more than one painting. Individual customers must pay for purchases in full at the...
-
This image consists of 4 different photos together , top section is problem number 4,left middle section is questions, left lower section is problem number 2, right section is problem number 3...
-
Constructing a distribution of demand during reorder lead time is complicated if the lead time itself is variable. Consider the following distribution for a reorder point inventory system. a. What is...
-
Loeb Corp. frequently borrows from the bank in order to maintain sufficient operating cash. The following loans were at a 12% interest rate, with interest payable at maturity. Loeb repaid each loan...
-
23. Given the following HTML mark-up and CSS rules, what is the text colour of the word Rainy? HTML mark-up: Today is a Rainy Day CSS rules: body {color: black; } section, p { color: green; } p...
-
Discuss how positive psychology can be used for the greater good. Some assert that positive psychology represents the narcissistic tendencies of our culture. Explain how positive psychology can be...
-
Hussain, a local Burger King franchise owner needed to obtain a loan with Royal Bank to modernize his restaurant. As a condition of providing the loan, Hussain was required to purchase and make a...
-
How does Max Weber's theory of rationalization elucidate the processes of bureaucratization and the disenchantment of the modern world, particularly within the realms of economy and administration ?
-
What is the output from the following code? void mystery (int size, int values []) { int sum = 0; for (int idx = 0; idx < size; idx++) { sum += values[idx]; } values [0] = sum; } int x[] = {1, 3, 5,...
-
Experiment 2: Osmosis - Direction and ConcentrationGradients In this experiment, we will investigate the effect of soluteconcentration on osmosis. A semi-permeable membrane (dialysistubing) and...
-
The Ranch 888 Noodle Company sells two types of dried noodles:ramen, at $6.50 per box, and chow fun, at $7.70 per box. So farthis year, the company has sold a total of 110,096 boxes ofnoodles,...
-
Provide arguments for and against the validity of Bravermans theories of management control.
-
All three parties have agreed on the basic facts of the case. Quinton, a registered practical nurse, worked at Restful Care Home, where the employees were members of a local of the Provincial...
-
What difficulties do unions face in organizing female workers, young workers, and visible minority workers?
-
Calculate the volatility and the current price of oil futures implied by the call 1600 August and the call 1700 August of Figure 19.8 by using the Black-Scholes formula with \(T=.25\). OIL CRUDE OIL...
-
A company issues a \(10 \%\) coupon bond that matures in 5 years. However, this company is in trouble, and it is estimated that each year there is a probability of .1 that it will default that year....
-
Consider a continuous-time environment, with \(e\) as a variable outside of the market. (a) Suppose the final payoff is \(V\left(x_{e}, T ight)=x_{e}(T)\). Find \(V\left(x_{e}, t ight)\). (b) Find a...
Study smarter with the SolutionInn App