1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Vitek1552 [10]
3 years ago
9

Write a program code to accept the names of 3 users and generate a user name as shown in the example. Accept the name of 3 user

in the format – Firstname Last name (eg. Anan Gupta). Select the first 3 characters from the first name, add # and then add last 3 characters of the last name. Display the newly generated user name along with the names that were input.
Computers and Technology
1 answer:
Nikitich [7]3 years ago
7 0

Answer:

Explanation:

The following code is written in Python and is a function that loops three times asking for the last name and first name. Then it uses this information to create a username. Finally, each of the names and usernames is printed on the screen.

def userName():

   for x in range(3):

       last_name = input("What is your last name: ")

       first_name = input("What is your first name: ")

       username = first_name[:3] + "#" + last_name[-3:]

       print(last_name + ", " + first_name)

       print(username)

You might be interested in
You type a complex formula in cell A20. You would like to make the same calculation in cells B20 through H20. To be efficient, y
larisa86 [58]

Answer:

Use autofill

Explanation:

In excel "autofill" is used to fill data in cells, which follows the pattern or logic applied in other cells. To apply same calculation of A20 in B20 to H20, we use autofill technique. Instead of copy pasting, or manually entering the complex formula this method is more suitable.  

4 0
3 years ago
Question, who wants 100 points?
Alexandra [31]
Me and well thank you
8 0
3 years ago
Read 2 more answers
Many mobile computers and mobile devices use LCD monitors. What does LCD stand for?
erica [24]
Liquid crystal display
4 0
3 years ago
Technician A states that a tap handle has a right-angled jaw that matches the squared end that all taps have. Technician B state
Elena L [17]

Answer:

Technician A and Technician B are correct

Explanation:

Based on the information provided within the question it can be said that both Technician A and Technician B are correct. A tap handle's right-angled jaw allows many different taps to be attached for different types of situation to more comfortably and conveniently handle that situation. Such as a T-shaped tap in order to cut a thread in an awkward space as Technician B has stated.

3 0
3 years ago
In a presentation, bullets in a text box will do which of the following?
lbvjy [14]
I'm almost certain that it is A. "Help you present your data with concise statements". Hope this helped :) Xx
8 0
3 years ago
Other questions:
  • What piece of software tells the operating system how to use a specific hardware device?
    14·1 answer
  • Can someone help me with these questions on linear dimensions pls
    11·2 answers
  • What is a help desk
    15·1 answer
  • Usually, the same software that is used to construct and populate the database, that is, the DBMS, is also used to present ____.
    11·1 answer
  • Write a MATLAB program using afor loopto determine the number of values thatarepositive, the number of values that are negative,
    11·1 answer
  • You use a 1200 watt hair dryer for 10 mintues a day.
    7·1 answer
  • I want to make apps but I don't know how and which things I have to learn first ,so if you know mention from starting to ending​
    11·1 answer
  • Provide examples of how information technology has created an ethical dilemma that would not have existed before the advent of I
    7·1 answer
  • Write a line of code that declares a variable called shipName and set it equal to the string SpaceX3000.
    9·1 answer
  • Which description best applies to a macro?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!