subject

The function below takes two arguments: a string (name) and an integer (position). Complete the function so that it prints out the a welcome statement that tells them person how many people are ahead of them in line. For example, your code should print out the following message if the person's name is Sally and their position is 24 (and hence have 23 people in front of them). Welcome Sally! There are 23 people ahead of you in line.

student. py 1.
def print welcome (name, position):
# Implement your function here.
position - 1
print("Welcome Sally! There are (1) people ahead of you in line.".Format(name, position))

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
How is the number 372 written when expanded out to place values in the base 8 (octal) number system? a. 2 x 4 + 3 x 2 + 4 x 1 b. 3 x 64 + 7 x 8 + 2 x 1 c. 3 x 8 + 7 x 7 + 2 x 6 d. 3 x 100 + 7 x 10 + 2 x 1
Answers: 1
question
Computers and Technology, 24.06.2019 07:00
Into what form does the barcode reader convert individual bar patterns?
Answers: 1
question
Computers and Technology, 24.06.2019 08:30
Aconsumer would pay an extra they used the rent to own program to buy the computer, rather than using cash. for all of the items, is the cheapest option over the life of the contract. the most expensive overall option is to use purchase the item.
Answers: 2
question
Computers and Technology, 24.06.2019 12:30
Why does the pc send out a broadcast arp prior to sending the first ping request
Answers: 1
You know the right answer?
The function below takes two arguments: a string (name) and an integer (position). Complete the func...
Questions
Questions on the website: 13722359