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

What is 01101010 in Denary?
PLEASE ANSWER I WILL GIVE U BRAINILEST !!!

Answers

Answer:

Binary 01101010 = 106

Explanation:

Answer:139

Explanation:

brain

Elliott is trying to normalize a database that he has designed. Which is not one of the elements of 1NF or 2NF?

Each cell of a table must contain a single value.
The table must not contain repeating groups.
Each table must depend on the entire primary key.
Each table must depend on the entire foreign key.

Answers

Answer: I think it’s D

Explanation: the rest apply to the the rules of 1NF and 2NF

You have a spreadsheet of x values that need to
be entered into the following formula to calculate y
values:
y = 5x + 19 - 7
Which of the following is the quickest way to
accomplish this task?
A. Use a calculator to find the y value for each x
value, then enter those results into the
spreadsheet
B. Enter the formula into the spreadsheet to
calculate the y value for each x value.
DONE

Answers

Answer: Its B

Explanation:

Answer:

Enter the formula into the spreadsheet to calculate the y value for each x value

You learned that you can use the tags to insert a link to another webpage. One problem that webpage developers face is that, after a time, links may no longer work. Can you think of ways that you can avoid broken links?

Answers

Answer:Image Control

We can use the height and width properties to control the size of our image. Let’s say we only want the recipe image to take up approximately one-third of the page. Do you remember from math class what percentage one-third is? Type in the following CSS rule, and watch your picture change size before your very eyes!

img {

   height:33%;

   width:33%;

}

That wasn’t too difficult, right? Let’s make the image stand out a bit more by adding a border. Inside the img rule, add the following declarations:

border-style:dashed;

border-width: 5px;

Your picture should now have a dashed border around it that is five pixels in width. Play around with the different border styles that are available. You should see a drop-down box of choices, including dotted, dashed, double, groove, inset, and outset. You can also adjust the width of your border. Using your informative guessing skills, can you predict what property you might use to change the color of the border? Try it and see if you’re right!

Explanation:

 this is a direct quote from my lesson

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.

which kind of blocks is used to hold values​

Answers

Answer:

Variable block.

Explanation:

In Computer programming, a variable can be defined as a placeholder or container for holding a piece of information that can be modified or edited.

Basically, variable stores information which is passed from the location of the method call directly to the method that is called by the program.

For example, they can serve as a model for a function; when used as an input, such as for passing a value to a function and when used as an output, such as for retrieving a value from the same function. Therefore, when you create variables in a function, you can can set the values for their parameters.

For instance, to pass a class to a family of classes use the code;

\\parameter Name as Type (Keywords) = value;

\\procedure XorSwap (var a,b :integer) = "myvalue";

Hence, variable block is used to hold values. Also, it can be used to hold strings in variables, which may be displayed through the computer monitor.

What responsibilities does the film editor have? (Select all that apply).

Answers

Answer:

“Revising the script”, “reading the script”, and “manipulating graphics, plot, sound, and score”

Explanation:

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

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:

bob has 2 candy bars he is fat what hapennes

Answers

Answer:

he eats The candy Bar

Explanation:

I think cause As You told he is fat He might like sugary items

Answer:

It is thought that some people are destined to gain weight because they have inherited “fat genes” from their parents. There can be no doubt that people vary in their genetic makeup and some people are inclined, because of genetic reasons, to become tall, or broad-shouldered, or squat, or fat.

Explanation:

it also has to do that your digest system do not digest it fast enough

How is net pay different from gross pay?

Answers

Net pay is your gross pay reduced by any state and federal taxes.

Jeff is at his workplace and needs a file from his computer at home. Which protocol can Jeff use to access this file from a remote location? A HTTP B. POP3 C. LDAP D. Telnet ​

Answers

The answer is Telnet.


Telnet is a network protocol used to virtually access a computer and to provide a two-way, collaborative and text-based communication channel between two machines. It follows a user command Transmission Control Protocol/Internet Protocol (TCP/IP) networking protocol for creating remote sessions.

What are the differences between linear algorithm and iterative algorithm

Answers

Answer:

For example Tower of Hannoi algorithm is made easy by recursion while iterations are widely used, efficient and popular. Recursive vs Iterative Algorithms: Approach: In recursive approach, the function calls itself until the condition is met, whereas, in iterative approach, a function repeats until the condition fails.

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

James’s work computer has lost its Internet connection but is otherwise working. If James’s colleagues have lost their Internet connections, too, which of the following is most likely to be true?

A. A server is down somewhere.
B.They need a repairman to fix the hardware on their computers.
C.Their computers are not part of a network anymore.
D.They have a software problem on their computers.

Answers

A. Server is down somewhere

Answer:

A server is down somewhere.

Explanation:

Edge

2.32 LAB: Musical note frequencies On a piano, a key has a frequency, say f0. Each higher key (black or white) has a frequency of f0 * rn, where n is the distance (number of keys) from that key, and r is 2(1/12). Given an initial key frequency, output that frequency and the next 4 higher key frequencies. Output each floating-point value with two digits after the decimal point, which can be achieved by executing cout << fixed << setprecision(2); once before all other cout statements. Ex: If the input is: 440.0 (which is the A key near the middle of a piano keyboard), the output is: 440.00 466.16 493.88 523.25 554.37

Answers

Answer:

Explanation:

[tex]\text{This is a python code:}[/tex]

[tex]\text{import math}[/tex]

[tex]your {\_} {value 1 }= float(inpu \ t ())[/tex]

[tex]your{\_}value 2 = your{\_}value1*math.exp(1 * math.log(2) / 12)[/tex]

[tex]your{\_}value 3 = your{\_}value1*math.exp(2 * math.log(2) / 12)[/tex]

[tex]your{\_}value 4 = your{\_}value1*math.exp(3 * math.log(2) / 12)[/tex]

[tex]your{\_}value 5 = your{\_}value1*math.exp(4 * math.log(2) / 12)[/tex]

[tex]print('\{:.2f\} \{:.2f\} \{:.2f\} \{:.2f\} \{:.2f\}'.format(your\_value1, \ your\_value2, \ your\_value3,[/tex][tex]\ your\_value4, \ \ your\_value5))[/tex]

[tex]\mathbf{OUTPU \ T :}[/tex]

[tex]\mathbf{440.00 \ 466.16 \ 493.88 \ 523.25 \ 554.37}[/tex]

The code for musical note frequencies On a piano, a key has a frequency, say f0 is in the explanation part below.

Here is a C++ program to the stated problem:

#include <iostream>

#include <iomanip>

#include <cmath>

int main() {

   double frequency;

   std::cout << "Enter the initial key frequency: ";

   std::cin >> frequency;

   std::cout << std::fixed << std::setprecision(2); // Set output precision to 2 decimal places

   std::cout << frequency << " ";

   for (int i = 1; i <= 4; ++i) {

       frequency *= std::pow(2, 1.0 / 12); // Calculate the next frequency

       std::cout << frequency << " ";

   }

   return 0;

}

Thus, in this program, we use the user's original key frequency as input. The starting frequency and the following four higher key frequencies are then calculated and produced using a loop.

For more details regarding C++ program, visit:

https://brainly.com/question/33180199

#SPJ6

One benefit of open source software is that it

Answers

Answer:B

Explanation:

What color is (255, 0, 255)?

A) lime
B) yellow
C) fuchsia
D) cyan

Answers

Answer:

Fuschia!

Explanation:

Try using rgb.to to find specific colors

If you type =5*3 into a cell, what do you expect the answer will be?
A. 5*3
B. 15
C. E3
D. 8

Answers

Answer:

I think 15

what do you mean by cell

Explanation:

Answer:

15

Explanation:

right on edge

What is the Denary representation of this 8 bit number > 01001111 ?

Answers

The Denary representation of this 8 bit number 01001111 is 79.

Decimal number

A binary number is a number expressed in the base-2 numeral system or binary numeral system. Binary numbers are either 0 or 1.

The decimal numeral system is the standard system for denoting numbers. Decimals are a set of numbers lying between integers on a number line.

Converting the number 01001111 to decimal:

01001111 = (0 * 2)⁷ + (1 * 2)⁶ + (0 * 2)⁵ +  (0 * 2)⁴ +  (1 * 2)³ +  (1 * 2)² + (1 * 2)¹ + (1 * 2)⁰ = 79

The Denary representation of this 8 bit number 01001111 is 79.

Find out more on Decimal number at: https://brainly.com/question/1827193

According to the video, what are common tasks performed by Tour Guides? Check all that apply.

leading trips
maintaining equipment
shepherding tourists and luggage
socializing
purchasing tickets for flights
selling equipment
setting up meals
teaching first aid

Answers

Common tasks of the tour guide.

As per the question, the video shows us the tour guide n the ways he handles the tasks. The tour guide can be seen using making techniques such as providing tips, giving information, socializing with people, and setting up meals and other arrangements.

Thus the answer is leading trips, maintaining equipment, shepherding the tourists and luggage, and socializing, setting up meals.

Thus the duty of the tour guide its provide the latest information and provide the cratered services to the clients. The services like hotel, travel and maintains of the equipment's is essential for them. Thus the option 1, 2, 3,4 and 7 are correct.

Learn more about the according to the video.

brainly.com/question/19175630.

Answer: 1 2 3 4 7

Explanation:

what the other guy said

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

Some Tiny College staff employees are information technology (IT) personnel.


Some IT personnel provide technology support for academic programs, some provide technology infrastructure support, and some provide support for both.


IT personnel are not professors; they are required to take periodic training to retain their technical expertise.


Tiny College tracks all IT personnel training by date, type, and results (completed versus not completed).


Given that information, create the complete ERD that contains all primary keys, foreign keys, and main attributes.

Answers

xndnxbxnndndndnndnxndnnxndndnndndndnndndndndndnndnxnx

Please help I will mark brainliest

Answers

Answer:

you are correct

Explanation:

Answer:

Yes it is C.

B is wrong because you need your work done and A is wrong because if your annoying she may not answer or get annoyed

Which of these factors needs to be considered when filming in HD?
The screen is a rectangle.
The screen is a square.
There are no pixels involved.
There will be less definition in each shot.

Answers

Note that the factors that need to be considered when filming in HD is: "

There are no pixels involved. (Option C)There will be fewer definitions in each shot. (Option D)

What is HD Filming?

High-definition video is greater in resolution and quality than standard-definition video. While there is no accepted definition of high-definition, it is commonly defined as any video picture with much more than 480 vertical scan lines or 576 vertical lines.

High Definition video is of greater quality than standard definition video (or Standard Definition). The image will be crisper in HD than in SD.

Note that the screen being a rectangle or square does not need to be considered when filming in HD. However, the presence of pixels and potential loss of definition in each shot are factors that should be considered.

Learn more about filming:
https://brainly.com/question/14824318
#SPJ1

HURRY PLEASE ITS A TEST
A military cargo plane is loaded with the maximum weight allowable for the flight. The cargo is heavier than what the pilot usually carries, so the pilot adjusts as follows: Group of answer choices
a. The pilot flies slower to create less thrust and less lift
b. The pilot flies slower to create more thrust and more lift
c. The pilot flies faster to create less thrust and less lift
d. The pilot flies faster to create more thrust and more lift

Answers

A.)

It's either A or D both of them stand out and make sense to me so I think that it'll be right if you choose A or D.

-Ɽ3₮Ɽ0 Ⱬ3Ɽ0

Principles of Computer Programming

Answers

Answer:

I think number 2 is B... I hope this helps

Even though data travels at the speed of light, networks can be slow. What affects the download speed of the network? Check all of the boxes that apply.

Answers

Answer:

bandwidth and internet connection

Explanation:

Answer: bandwidth and internet connection

Explanation:

what is ur favorte star wars person?

Answers

Answer:

Hi, mi favorite is Darth Vader maybe °-°

Answer:

This is hard because there are SOOOO many from comics, movies, video games, and shows.

I'm gonna go with commander wolfe or captain rex. And yes wolfe is spelled like that.

Explanation:

choose one of the following about video games

Increases physical health/mobility concerns
Decrease in social interactions
Increases violent behaviors
Increases awareness in practical life skills
Decreases stress levels

Answers

Answer:

decrease in social interactions

Explanation:

if you play a video game you are starring at a screen and you are not interacting with people

Other Questions
Which Amendment, listed in the Bill of Rights, do you think the government could do a better job of enforcing and why? LaTeX: \frac{2}{5}\div\frac{3}{5} what are the policies and programmes of health sectorHAPPY TEDDY DAY CJ's garden is surrounded by a uniform width walkway . The Garden and walkway together cover an area of 320 square feet . If the dimensions of the garden are 12 feet by 16 feet determine the width of the walkway?HELP ME!!!!!!!!!!!!!!!!!PLEASE!!!!!!!!!!!!! Sherona takes a 6-minute break after 24 minutes of study. Benedict takesan 8-minute break after every 32 minutes of study. Are their ratios of studytime to break time equivalent? Sarah changed the quadratic function x^2 - 8x+10 fromstandard form to vertex form using the methodof completing the square. What number did Sarah add toboth sides of the equation during the process?a. -8b. 16C. 10d.-4 Unit Test Unit Test Active 21 22 Which phrase describes the algebraic expression 6x? O the quotient of 6 and a number the difference of 6 and a number O the product of 6 and a number O the sum of 6 and a number Mark this and return Save and Exit drex How do I find the length of SU? PLEASE HELP! Which of the following led to the Mongols conquering China under Genghis Khan? Choose 2 responses.Genghis Khan's army was larger than China's.The Mongols used a deadly new weapon called a trebuchet.The Mongols put Chinese cities under siege.China's military leaders made huge mistakes in battle. PLZ NEED HELP WITH THIS What is a theme of the poem "The Dragonfly"?A. Little can be gained by showing off. B. Small things in nature can bring joy.C . A sense of belonging is vital for survival.D. One should live life to the fullest.Question 2Part BHow does Louise Bogan develop the theme indicated in Part A?A. She explains how elusive dragonflies can be.B. She explains how quickly dragonflies flit around.C. She explains that the dragonfly's life is a short one.D. She describes the dragonfly with an admiring tone. What is the equation in slope-intercept form of the line that passes through (2, 3) and is parallel to the line through (-2, 1) and (7, 1)? did Hitler kill himself? or is that a myth? Which of the following would be a good pair of plants to use for relay intercropping?an early sprouting, tall corn and a late climbing beantwo early spring, low-growing bush pea varietiesan early sowing of tall corn, and a late sowing of a dwarf cornan early sowing of lettuce and a late sowing of lettuce How to respond to "crees que comer la mantequilla todos los dias es bueno para la salud?" In Spanish? 15 men can dig a trench og 90m in 3 hours. how long will it take 16 men to dig a trench of 48m long? Question 71 ptsWhich of the following was NOT a legacy of the Civil War? GIVING BRAINLIEST TO THE FIRST CORRECT ANSWER!!How did the environments in North America affect the development of indigenous cultures in the late 1400s?A.) Indigenous peoples lived far apart and were unable to trade with one another.B.) Indigenous peoples were prevented from developing advanced farming techniques C.) Indigenous peoples were forced to learn how to survive in their unique regions.D.) Most Indigenous peoples were forced to rely on hunting and gathering If the probability that Caleb makes a free-throw is 60% what is the probability that Kayla makes two free throws in a row? Which sentence best states the main theme of the poem? A brook in the city