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.

Answers

Answer 1

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)


Related Questions

A beam of light travels in air and then passes through a piece of glass at an angle of 45 degrees to the normal. As the light passes from the air into the piece of glass, the light ray is bent, what is the angle of refraction measured from the normal?

Answers

Answer:

The angle of refraction measured from the normal is approximately 28.13°

Explanation:

The angle of refraction is the angle made by the refracted ray and the normal line drawn at the point where the ray passes through the interface of the two mediums

According to Snell's law, we have;

[tex]_1 n_2 = \dfrac{n_1}{n_2} = \dfrac{sin \, \theta _2}{sin \, \theta _1}[/tex]

n₁·sin (θ₁) = n₂·sin(θ₂)

Where;

₁n₂ = The refractive index of air to glass = 1.5

n₁ = The refractive index of air = 1

n₂ = The refractive index of glass ≈ 1.5

θ₁ = The angle of incidence = 45°

θ₂ = The angle of refraction measured from the normal

Therefore, we have;

1/1.5 = sin(θ₂)/sin(45°)

sin(θ₂) = sin(45°)/1.5 = (√2)/2/(3/2) = (√2)/3

∴ θ₂ = arcsin((√2)/3) ≈ 28.13°

The angle of refraction measured from the normal = θ₂ ≈ 28.13°.

why it is important for steel to go through a fluid phase as it is being produced.

Answers

Answer: It is important because the object must go through heat to be melted and then it should be put into a mold to be formed. Also, it go though heat to keep it from cracking and go to be cooled and harden

Explanation:

Help help help!!!please

Answers

Answer:

A. 1 AWG

Explanation:

The larger the AGW number or wire gauge, the smaller the size of the wire

The largest conductor in the list is 1 American Wire Gauge (AWG)

What are conductors?

Conductors are substances that allows electricity to flow through it.

In a conductor, electrical charge carriers, usually electrons or ions, move easily from atom to atom when voltage is applied.

In a simpler term conductors are substance that can conduct electricity.

American Wire Gauge (AWG) is the standard way to denote wire sizes.

Therefore, 1 American Wire Gauge (AWG) conducts more electricity in the list.

learn more on conductors here: https://brainly.com/question/18084972

#SPJ9

Darren built a tower out of 23 toy blocks. each block has a mass of 7grams. what is the mass of the whole tower?​

Answers

Answer:

161 grams

Explanation:

How is a digital representation of analog data a form of abstraction? Why is the quality of the photo, music, etc better when more samples are taken? Music is an example of analog data. What other examples of analog data can you think of?

Answers

Answer:

1. This is because non-essential parts of the analog data is cut of so as to represent the analog data digitally.

2. This is because it mirrors closely to the original analog material.

3. i. Temperature ii. Speed ii. Distance iv. Electric current

Explanation:

1. How is a digital representation of analog data a form of abstraction?

Digital representation of analog data is a form of abstraction because, since abstraction, which is the removal of non-essential parts of a material so as to reduce complexity, also non-essential parts of the analog data is cut of so as to represent the analog data digitally.

2.Why is the quality of the photo, music, etc better when more samples are taken?

The quality of these items is better because, as more samples are taken, it reduces the error in the sampling and the item(photo, music etc) mirrors closely to the original analog material.

3. What other examples of analog data can you think of?

i. Temperature ii. Speed ii. Distance iv. Electric current

Which are the following 4 things something must be able to do in order to be a computer? *

Answers

Answer:

There are four main equipment functions of a computer system: Input, Processing, Storage and Output.

Explanation:

Reading (BCK FORM 2C IT 2020-2021)
Hi Sheneille, when you submit this form, the owner will be able to see your name and email address.
1. It are a gud idear to deliberatli type sum errurs so wee can sea ow the spellcherker
werks When the spelling checker encounters a word it doesn't recognize it determir
which words in its dictionary are similarly spelled and displays a list of those words
the most likely match highlighted The contents of the list determined only by spellir
any instances of terms that seem inapropriate in context are completely coincedent
You might have to ecide on the right anser
the carpenter indcated that he did not no that the materals was already pur
you advise him! This situation prevented him form bilding the shelfs last we
4 days left in the month; it is unlikely that he will be able to compleet the tw
time for the store opening? Should we arrange to get a new carpenter that i
in Kingstown. Please let me no as soon as posible, as I will need to advice t
request there permision!
Thank you very much fo yo telephone call 2day we r in-deed glad 2 here tha
utain during the y
fell​

Answers

Answer:

Use grammarly

Explanation:

Answer:

It is a good idea to deliberately type sum errors so we can see how the spellchecker  works. When the spellchecker encounters a word it doesn't recognize the correct spelling or words in its dictionary that are similarly spelled and displays a list of those words . The most likely match highlighted, the contents of the list determined only by spelling.  

Any instances of terms that seem inappropriate in context are completely coincidental

You might have to decide on the right answer.

The carpenter indicated that he did not know that the materials were already perfect,  so you advise him. This situation prevented him form building the shelves last week.  Four days left in the month, it is unlikely that he will be able to complete the work.

Time for the store opening. Should we arrange to get a new carpenter that I had looked into in Kingstown? Please let me no as soon as possible, as I will need to request there permission!

Thank you very much for your phone call today we are in-deed glad to here that  you would like some help.

Explanation:

uh- I have no idea what this is and I had so much trouble trying to figure this out...

What do you type in the “subject” box

(A)The title of your email/summary of what you need

(B) The persons name you are sending an email to

(C) The question you are asking

I will mark brainliest

Answers

Answer:

the correct answer is: (A) The title/summary of what you need.

Explanation:

The subject is what the receiver see's when going across the email. Putting the summary of what the email is about in subject allows them to see what the email is mainly about seeing if they should continue reading the email or not. So providing the summary pf the email lets the receiver know what the email is about. Hope this helps! :D

Which of the following is true about file formats?

Answers

It’s lil uzi Fer debí Moo cosmo I
234
Me

Answer:

i feel like the answer to this question would be ''Free file formats may be either open or closed.'' If  i'm wrong, plz let me know ^^

Explanation:

Which of these is not a common type of programming design?
~object-oriented design
~structured programming design
~graphic design
~top-down programming design

Answers

Answer:

structured programming design.

Explanation:

Answer:

I can confirm its structured programming design

Explanation:

(Print distinct numbers) Write a program that reads in integers separated by a space in one line and displays distinct numbers in their input order and separated by exactly one space (i.e., if a number appears multiple times, it is displayed only once). Hint: Read all the numbers and store them in list1. Create a new list list2. Add a number in list1 to list2. If the number is already in the list, ignore it.

Answers

Answer:

Following are the program to the given question:

num = input("Enter numbers: ")#defining a variable num for input value  

list1 = num.split()#defining a list1 that adds value in list1  

list2 = []#defining an empty list list2

for j in range(len(list1)):#defining a for loop that checks the list value in range  

   if not list1[j] in list2:# use if block that checks multiple value

       list2.append(list1[j])#add value in list2

print("The distinct numbers are: ")#print message

for j in range(len(list2)):#defining for loop for print list value

   print(list2[j])#print list value

Output:

Enter numbers: 1 22 55 7 22 1 1 2 3

The distinct numbers are:  

1

22

55

7

2

3

Explanation:

In the above-code, a "num" variable is defined, that takes inputs from the console screen, and in the next step, "list1 and list2" is defined. In the "list1" it adds num variable value a into the list.

In the next step, a for loop is defined that checks the list value in range , and define an if block, that checks multiple value and add value into the list2, and in the next step, the for loop is defined that prints the list2 values.    

How are switches indirectly involved in ARP poisoning?

Answers

Answer:

They

are indirectly involved in the attack because they do not verify the the MAC/IP address

association

Explanation:

PLEASE MARK ME AS BRAINLIEST

is a keyboard a software?

Answers

Answer:

Yes

Explanation:

Because it's apart of software hope this helps

The hardware is all the tangible computer equipment, such as the keyboard and mouse. The software is what makes the hardware work or lets you get things done, such as writing documents with Microsoft Word or playing a Solitaire game.

Is a keyboard a software or hardware?
Computer hardware includes the physical parts of a computer, such as the case, central processing unit (CPU), monitor, mouse, keyboard, computer data storage, graphics card, sound card, speakers and motherboard. By contrast, the software is the set of instructions that can be stored and run by hardware.


Hope it helps, have a great day!❤️✨

Surrendering to digital distractions can result in a disappointed
feeling of how you spent your time. True false

Answers

It all depends on how the person can handle the situation, some people may say false and others may say true. It depends on who and when you ask.

Jiwoo is a professional photographer. Identify and describe a photography scenario where Jiwoo would need to consider the ethics and aesthetics of photography before proceeding. Clearly examine what ethical and aesthetic consideration she would have based on the scenario that you describe and how these relate to photography as a career or art form in general.

Answers

Answer:

Photography ethics are the principles that guide the way we take and share photos. Why is photography ethic so important? If we don't have morality in the way we use photography, we risk Aesthetics Ethics deals with the rights and wrongs and Aesthetics deals with beauty or otherwise. When we correct, manipulate or enhance images, the factors of ethics and aesthetics must always be kept in consideration. Where Does One Draw The Line if you add or remove something there that wasn’t in the scene you have crossed from documentary to fictional art. Exceptions In other cases, the only way to present a truer representation of reality is through a composite rather than with a single exposure.

Explanation:

I hope this helps I little

Which type of digital picture is made by strong individual pixel value

Answers

Answer  :a bitmap because it is a 'map' of where the 'bits' of information are stored

Explanation:

This information is stored as a sequence of numbers defining the colour of each pixel.

Answer:

raster

Explanation:

Raster images, such as digital photographs, store the color value of each individual pixel.

Choose the first programming language for personal computers that was released in the 1970s by Microsoft

Answers

Answer:

Altair BASIC programming language

Explanation:

The Altair BASIC programming language was built for the Altair 8800 microcomputer by childhood friends, Bill Gates and Paul Allen in March 1975

The interpreter for the Altair BASIC programming language was developed by Bill Gates while Paul Allen worked on the simulator

The newly developed programming language worked without flaw during the demonstration to Micro Instrumentation and Telemetry Systems, MITS

Microsoft was founded by Bill Gates and Paul Allen on the 4th of April 1975

Answer:

C.) Altair BASIC programming language

Explanation:

Which layer in the Transmission Control Protocol/Internet Protocol (TCP/IP) model is responsible for delivering data between two nodes?

Answers

Answer:

Network.

Explanation:

The Transmission Control Protocol/Internet Protocol (TCP/IP) model is a standard networking protocol which allows network devices such as routers, switches, and host computers to interconnect and communicate with one another over a network. The Transmission Control Protocol/Internet Protocol (TCP/IP) model comprises of four (4) layers and these includes;

I. Application layer.

II. Transport layer.

III. Internet layer.

IV. Network layer.

The network layer in the Transmission Control Protocol/Internet Protocol (TCP/IP) model is responsible for delivering data between two nodes.

Basically, this layer known as network layer is the fourth layer of the Transmission Control Protocol/Internet Protocol (TCP/IP) model and it is typically responsible for the transmission of packets from one network device to another.

definition of data redundancy​

Answers

Answer:

Data redundancy occurs when the same piece of data exists in multiple places, whereas data inconsistency is when the same data exists in different formats in multiple tables. Unfortunately, data redundancy can cause data inconsistency, which can provide a company with unreliable and/or meaningless information

HELP ASAP 10 POINTS COMPUTER SCIENCE

Answers

The answer is b because I took that text already

Answer:

B

Explanation:

Color codes are stored as:


A) int
B) float
C) dec
D) Strings

Answers

Answer:

the correct answer is Strings, have a great evening yall

Explanation:

Someone please tell me what lambda does! in python!! I need help

Answers

Answer:Lambda Technologies is the he is the group name encompassing a Premier materials research laboratory with an engineering and production enterprise dedicated to the development and optimization of of surface treatments our company has been selling materials for over four decades with over 150 years of combined experience in more than 20,000 research programs we are proud of our corporate legacy in record or around standing performance in meeting or customers needs room training all excellence groundbreaking innovation and committed hard-working employees we are able to provide more than just data we provide complete service enhancement solutions are resources that can include all of our technical papers he studies defraction notes and downloads we are a well known source of research in education materials on the understanding measurement and controls of residual stress

Explanation:

This logo bby im sorry huhu​

Answers

Answer:

I believe this was for someone else online, Unfortunately that's a little weird to be dating here ya know, Never know if there is someone really old or young you could be dating.

Anyone know answer to this?

Answers

Answer:

the original poster that it might have been clearer and, perhaps, preferable to choose a description with less potential to lead to confusion if a student were coming from (or going to), for instance, the python, php or java track.

Explanation:

a blank search examines the first item to see if it is a match, then the second, and so on. answers: linear, binary, and orderly. computer science ​

Answers

Answer:

A Linear Search (aka: Sequential Search)

Explanation:

A  linear  search examines the first item to see if it is a match, then the second, and so on, in a "sequential" manner!

:)

A linear search examines the first item to see if it is a match, then the second, and so on.

What is linear search?

This is known to be the most straightforward kind of searches that is known to be done in a sequential manner.

Example is  looking at a phonebook and finding names such as the first "Smith". Therefore, A linear search examines the first item to see if it is a match, then the second, and so on.

Learn more about linear search from

https://brainly.com/question/26533500

#SPJ2

which description below would describe a library linked to a coding file?

1. Imagine to pull into your game.

2. A library helps you find errors in your code.

3. Pre-written function to be used over and over.

4. Books.

Answers

Answer:

2 im pretty sure

Explanation:

I just did this quiz and i got it correct so im pretty sure its 2 :D

Kelly has always used "P4ssw0rd” as her password on her online accounts. Why should she change this? Check all that apply.

o Passwords should be used only once.
o It could be easily guessed.
o Passwords must be unique.
o It contains insufficient personal information.
o Passwords should be changed regularly.

Answers

Answer:

it could be easily guessed

All of them except C

which type of hazzard are those substances which threathen you physical safety ?​

Answers

Answer:

98o

Explanation:

is it safe for me to use normal glue to stick things on my laptop like stickers or pics?

Answers

Answer:

I think you should be fine, as long as you're just sticking it to the backside of your laptop. (For MacBooks, this is the part of the laptop with the apple symbol.) You can easily wash glue off with a cleaner such as Goo Gone or Pledge. There's better solutions, like ordering a case for your computer and putting the stickers on there, but I guess it's fine to stick them onto your computer. I'll attach a photo of an example of case with stickers.

Hope this helps! Feel free to give me Brainliest if you feel this helped. Have a good day, and feel free to comment any questions below you may have. :)

It is safe to use normal glue to stick things on my laptop like stickers or pics. On the back of the laptop cover, this glue can be used.

What are glues?

Any non-metallic substance applied to one or both sides of two distinct items that binds them together and prevents their separation is an adhesive, also known as glue, cement, mucilage, or paste.

superglue, sometimes called cyanoacrylate, is a kind of adhesive that joins quickly and may be used on a range of surfaces and materials. This fast-bonding glue has the advantage of eliminating the need for nails, clamps, and other fasteners. Superglues are waterproof, quick-setting, and will dry clear.

Therefore, stickers and pictures can be safely adhered on my laptop using regular adhesive. This glue can be applied to the laptop cover's rear.

To learn more about glues, refer to the link:

https://brainly.com/question/13225566

#SPJ2

What is the purpose of HTML?
A. to store data
B. to structure a document
C. to style a document
D. to add functionality

plz it a test

Answers

You can style and structure with it so it’s either one of those
Other Questions
How would significant land acquisitions impact the economic growth of the United States? In the table below, explain the irony of the narrators words in lines 8291."Quickly, the dragon came at him, encouragedAs Beowulf fell back; its breath flared,And he suffered, wrapped around in swirling 85 Flamesa king, before, but now A beaten warrior. None of his comrades Came to him, helped him, his brave and noble Followers; they ran for their lives, fled Deep in a wood. And only one of them90 Remained, stood there, miserable, remembering, As a good man must, what kinship should mean." Who led the Roman Army against Spartacus? a category of classification below a kingdom? A phylum B domain C species A line graph is a great tool for showing changes over time. Why is a line graph better than other graphs at showing this type of data? Which country showed the greatest recovery from population loss by 1500? The amount A and B get is in the ratio 5:6. Theamount B and C get is in the ratio 4:9. Thedifference between A and C is 51. How muchdo they each get? PLEASE HELP ME!!!:(Procedure:1. Hold the ruler horizontally at both ends. Bendthe ruler.Q1: Do you feel the ends of the ruler pushingagainst your hands?2. Now release the ruler.Q2: What will happen to the ruler as yourelease it?3. Now, hold one end of the ruler firmly with your right hand and bend the ruleragain with your left hand.Q3: What was stored as you bent the ruler using your left hand?4. While keeping a tight grip with your right hand, take away your left handquicklyQ4: What will happen to the ruler as you take away your left handquickly?:)( :> Factor.64x225y2Enter your answer in the box. An internet survivorgame had 50,000participants; however,the game kicks off 20% ofthe participants each day.Which function modelsthis game? 46. MULTI-STEP A flying disk has a radius of 4.9 inches. Jolanda discovers that adding a hole with a radius of 3.75 inches to the center of the disk reduces the weight of the disk, so it travels farther. Jolanda wants to experiment with the size of the disk to increase flying distance. In the new disks she creates, the sizes of the disks and holes are increased on decreased by the same amount. a. Write an expression for the area of the top of the new flying disks. b. Explain your solution process. HELP!! ASAP!!What economic factors influenced the policy of Indian removal? ( 2-5 sentences) UwU helpMaria has four times as many crayons as Anne. Anne has 64 crayons. Write a math statement to show the number of crayons, c, that Maria has. Solve for c. convert 2.5t into pounds Please help and explain!Ill give brainiest!! Select the correct answer.There were 800 farmers' markets initially in the USA in 2012. In 2013, the number of farmers' markets was 1.25 times the initial number of farmers' markets. Then, in 2014, the number of farmers' markets was 1.25 times the number of farmers' markets the previous year. If this pattern continues, which of the following graphs represents the number of farmers' markets in the USA over time? write the recurring decimals as fractions 0.15 and 0.369 Which of the following is a characteristic property of matter that could be used to identify an unknown substance?1)Mass2)Density3)Volume4)Temperature 1/10 (x + 11) = -2 (8 - x) Select the sentence that has the adjectives in the correct order.A.) My sister has a circular, small, annoying, tin toy that irritates me.B.)My sister has an annoying, small, circular, tin toy that irritates me.C.)My sister has a small, annoying, circular, tin toy that irritates me.D.) My sister has a tin, annoying, small, circular toy that irritates me.