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
Darina [25.2K]
3 years ago
10

Write a program that reads a person's first and last names separated by a space, assuming the first and last names are both sing

le words. Then the program outputs last name, comma, first name. End with newline. Example output if the input is: Maya Jones Jones, Maya
Computers and Technology
1 answer:
Over [174]3 years ago
3 0

Answer:

Written in Python:

import re

name = input("Name: ")

print(re.sub("[ ]", ", ", name))

Explanation:

This line imports the regular expression library

import re

This line prompts user for input

name = input("Name: ")

This line replace the space with comma and prints the output

print(re.sub("[ ]", ", ", name))

You might be interested in
Complete the sentence. <br><br> The internet is an example of a ______
maria [59]

Answer:

packet switched network

4 0
3 years ago
Which of the following statements is NOT a valid way to create a date object named birthday?
dem82 [27]

Answer:

var birthday = "12/2/1978";

Explanation:

It does not create a date object named birthday because in this statement the birthday is a string which contains 12/2/1978 a date it is not date object it is a string.All other three options are correct way to create a date object.

var birthday = new Date();

creates a date object with the current date and time.

we can also pass date string in the new Date().So var birthday = new Date("12/2/1978"); is also correct.

we can also pass year,month,day in new Date() In this order only.So option fourth is also correct.

4 0
3 years ago
You completed the wireframe step of mobile app development. Which statement is true about this step?
UkoKoshka [18]

The statement that is true about this step is that:

  • You have drawn pictures of what your screens will look like and identified the input-process-output that occurs on each screen.
  • In this step, you defined your target audience and main goal.

<h3>How wireframe is made to create mobile apps?</h3>

The Steps for wireframing are:

  • Begin by mapping out a specific user flow.
  • Do a Sketch of the core part and then begin wireframing by setting a Mobile Frame.
  • Se the layout using boxes and use design patterns.
  • Make sure to link the pages together to create a flow.

Note that The statement that is true about this step is that:

  • You have drawn pictures of what your screens will look like and identified the input-process-output that occurs on each screen.
  • In this step, you defined your target audience and main goal.

Learn more about wireframe  from

brainly.com/question/12734458

#SPJ1

5 0
3 years ago
A provides an easy way for workers to interact with their computers
LenKa [72]

<u>Answer:</u>

<em>GUI provides simple and easy way to operate computers. </em>

<u>Explanation:</u>

Before <em>GUI there were only CUI (Character User Interface) where the user needs to remember lots of commands to interact with computer </em>and it is also time consuming.

<em>Eg. DOS (Disk Based Operating System). </em>

This problem was overcome by GUI where it contains buttons where the user can use the <em>mouse to click, double click or right click </em>according to the options provided by the environment. <em>GUI is the successor of CUI.</em>

7 0
3 years ago
A wide area network (WAN) is a telecommunications network that connects users and their computers in a geographical area that sp
marshall27 [118]

Answer:

False

Explanation:

A wide area network span beyond the city. It is oftened likened to the Internet.

A wide area network (WAN) is a telecommunications network that extends over a large geographical area.

A WAN (wide area network) is a communications network that spans a large geographic area such as across cities, states, or countries. The Internet is the largest WAN and it span across continent not just city.

It is metro area networks (MANs) that is within a city limit.

5 0
4 years ago
Read 2 more answers
Other questions:
  • What are the four principal services provided by S/MIME?
    11·1 answer
  • What will be the value of ans after the following code has been executed?
    10·2 answers
  • to print a range of cells in the active worksheet click blank in the settings area in the print gallery
    9·2 answers
  • What is the technical term of a native programming language?​
    8·1 answer
  • You have just taken over management of a server on which the previous server administrator has set up several server components,
    8·1 answer
  • Write a program that prompts the user to input two numbers, a numerator and a divisor. Your program should then divide the numer
    9·1 answer
  • What type of switch connects users to the network?
    9·1 answer
  • If a triathlon is a sport combining three events, what do you think would be the word for a sport combining five events?
    7·1 answer
  • What is computer? Give short answer for this ​
    7·2 answers
  • Describe the steps that transform a program written in a high-level language such as C into a representation that is directly ex
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!