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
Jlenok [28]
4 years ago
10

Create a function called full_name. Pass two parameters to the function, an employee’s last name and first name. The function sh

ould return the full name in the format, last name, comma, space, first name (for example: Smith, Joe). Save your code.
Computers and Technology
1 answer:
marissa [1.9K]4 years ago
6 0

Answer:

The solution code is written in Python:

  1. def full_name(lastName, firstName):
  2.    return lastName + ", " + firstName  

Explanation:

Firstly, create a function and name it as<em> full_name</em> that takes two parameters, <em>lastName</em> and <em>firstName </em>(Line 1).

In the function body, we can simply use plus operator, "+", to join the <em>lastName</em> string, comma and <em>firstName</em> string into a concatenated string. Please note a single space is made right after the comma (Line 2).

At last, return the concatenated string as function output.

You might be interested in
Select the correct answer.
grandymaker [24]

Answer: C

Explanation:

5 0
3 years ago
When a routerâs interface is configured with multiple ip addresses with each address belonging to different networks, what is it
padilas [110]
<span>When a routerâs interface is configured with multiple ip addresses with each address belonging to different networks, what is it called?
</span>
router on a stick
6 0
3 years ago
**PLEASE HELP**
ruslelena [56]
Normally, you might expect that anything related to Sodium and Chlorine is insanely dangerous and shares properties of both(B), but since the two are making a compound, that is not true. Compounds almost never share the properties of the elements they are made from. So your answer is D.
8 0
3 years ago
What is a dynamic CMOS circuit?
dybincka [34]

Answer:

Dynamic circuit class, which relies on temporary storage of signal values on the capacitance of high- impedance circuit nodes. In this section, an alternate logic style called dynamic logic is presented that obtains a similar result, while avoiding static power consumption.

Explanation:

Please Mark me brainliest

6 0
3 years ago
Write a program with a function that accepts a string as an argument and returns a copy of the string with the first character o
Alex Ar [27]

Answer:

def capitalize_first(st):

   capitilized_list = []

   splitted_st = st.split(". ")

   for x in splitted_st:

       capitilized_list.append(x[0].capitalize() + x[1:])

   capitilized_st = ". ".join(capitilized_list)

   return capitilized_st

 

s = input("Enter a string: ")

print(capitalize_first(s))

Explanation:

Create a function called capitalize_first that takes one parameter, st

Create an empty list that will hold the capitalized strings

Split the given string using split function and put them in the splitted_st

Create a for loop that iterates through splitted_st. For each string in splitted_st, capitalize their first character and put them in the capitalized_list.

When the loop is done, join the strings in the capitalized_list using join function and set the joined string to capitilized_st

Return the capitilized_st

Ask the user for the string

Call the function with entered input and print the result

7 0
3 years ago
Other questions:
  • design the psuedocode for a program that allows a user to enter 10 numbers, then displays them in the reverse order of their ent
    6·1 answer
  • Assign courseStudent's name with Smith, age with 20, and ID with 9999. Use the PrintAll member function and a separate cout stat
    14·2 answers
  • Kash has created a document that needs to be protected. only certain users should be able to open the document. what option shou
    5·1 answer
  • The various protocols in use on the internet are said to operate in layers in which the protocol(s) at each layer solve one prob
    5·2 answers
  • Which cable would you check if you can't access any web pages?
    12·1 answer
  • Bitmap images are ________ into different software applications.
    9·1 answer
  • Use the drop-down menus to complete statements about archiving and backing up data fileArchiving data files manages the size of
    5·2 answers
  • CorpServ is a small company with 14 client systems and a network printer. Because there are only a limited number of networked s
    13·1 answer
  • The sequence of Figures shows a pattern. if the pattern repeats, how many triangles will the figure 5 have ?​
    7·1 answer
  • Does every loop structure require curly braces?<br> A. yes<br> B. no
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!