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
1.Write the Qbasic program to find sum of any 10 different numbers.
dybincka [34]

Answer:

1.

DIM myArray(10) as INTEGER

LET A = 0

FOR I = 1 TO 10 STEP 2

INPUT “INPUT NUMBER”; myArray(i)

LET A = A + myArray(i)

NEXT  

PRINT A

END

2.

REM PROGRAM FOR CALCULATING THE SIMPLE INTEREST

CLS

INPUT “INPUT THE PRINCIPAL”; P

INPUT “INPUT THE TIME”; T

INPUT “INPUT THE RATE”;R

SI = P* T * R / 100

PRINT “SIMPLE INTEREST =”; SI

END

Explanation:

Please find the respective programs in the answer section.

4 0
3 years ago
What is it called when a additional document is added to an email
LUCKY_DIMON [66]
A new data to save last chest
8 0
3 years ago
Read 2 more answers
What is computer software
Butoxors [25]
A set of instructions and documents that tells a computer what to do or how to perform a task or it can mean all the software on a computer,
7 0
3 years ago
Read 2 more answers
______-____ parameters provide a one-way link between actual parameters and formal parameters.
Oxana [17]

Answer:

Value

Explanation:

3 0
2 years ago
What is unique address in ICT​
iren2701 [21]

Answer:

IP Addressing.

Explanation:

It stands for Internet Protocol address. It is a unique address that identifies a computer on a network such as the Internet.

Hope this helped you!

4 0
3 years ago
Other questions:
  • Using the expected format, of putting key information where the reader can’t find it, is an example of?
    8·2 answers
  • To prevent class objects from being copied or assigned, you can:
    8·1 answer
  • Alpha Technologies, a newly established company, wants to share information about its work with people all over the world. Which
    9·1 answer
  • _____ is the measure of a system’s ability to expand, change, or downsize easily to meet the changing needs of a business enterp
    11·1 answer
  • What is the Piston Displacement having 3-inch bore and 3-inch stroke?
    11·1 answer
  • Social networking allows businesses to _______. a. Connect with hundreds of consumers at once b. Provide personal feedback to co
    12·2 answers
  • Advantages against its counterpart because of its portability​
    8·1 answer
  • Edhesive assignment 7 calendar
    10·1 answer
  • Components of document merging?
    5·1 answer
  • What type of html list will automatically place a list marker, or bullet point, indicator in front of each item? group of answer
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!