answer.
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
77julia77
7 days ago
10

(1) Prompt the user to enter two words and a number, storing each into separate variables. Then, output those three values on a

single line separated by a space. (Submit for 1 point)
Ex: If the input is:

yellow
Daisy
6
the output after the prompts is:

You entered: yellow Daisy 6
Note: User input is not part of the program output.


(2) Output two passwords using a combination of the user input. Format the passwords as shown below. (Submit for 2 points, so 3 points total).

Ex: If the input is:

yellow
Daisy
6
the output after the prompts is:

You entered: yellow Daisy 6

First password: yellow_Daisy
Second password: 6yellow6

(3) Output the length of each password (the number of characters in the strings). (Submit for 2 points, so 5 points total).

Ex: If the input is:

yellow
Daisy
6
the output after the prompts is:

You entered: yellow Daisy 6

First password: yellow_Daisy
Second password: 6yellow6

Number of characters in yellow_Daisy: 12
Number of characters in 6yellow6: 8
Computers and Technology
You might be interested in
In Python, what kind of error is returned by the following code? (e.g. NameError, ValueError, IOError, etc.) def my_func(n1, n2)
Harlamova29_29 [1022]

Answer:

SyntaxError.

Explanation:

https://www.quora.com/In-Python-what-kind-of-error-is-returned-by-the-following-code-e-g-NameError-ValueError-IOError-etc-def-my_func-n1-n2-return-n1-n2-my_func-1-2-3          original source

brainlest plz

6 0
4 months ago
You've been given a new cell phone with a 2 gigabyte data plan. You plan to use your phone for text messages, images,
Natasha_Volkova [1026]
The correct option is "video". This is because video formats are more compact compared to text or songs, which are also subjected to lossy compression. The advantages of video encoding are more effective in handling lossy compression, and since text and audio require less information, they compress better. Videos and images necessitate high quality, therefore they are also more suitable for lossy compression.
5 0
2 months ago
The machine has to be returned to the vendor for proper recycling. Which stage of the hardware lifecycle does this scenario belo
Natasha_Volkova [1026]

Answer:

Decommission/Recycle

Explanation:

The situation being described pertains to the last phase of the hardware lifecycle called Decommission/Recycle. At this stage, the asset has fulfilled its purpose for a long time and is not performing optimally, or newer models have been released. Once it reaches this phase, the hardware is either repaired or dismantled for components that can be used to produce new products.

8 0
2 months ago
Other questions:
  • To what extent are the following computer systems instances of artificial intelligence:
    14·1 answer
  • Write a program that prompts the user for an integer, then asks the user to enter that many values. Store these values in an arr
    14·1 answer
  • Which of the following is opened when the Find command is clicked?
    12·1 answer
  • What term best describes the grammatical rules for writing proper code? paths syntax hyperlinks declarations
    7·2 answers
  • Explain what might happen if two stations are accidentally assigned the same hardware address?
    15·1 answer
  • Write a program that calculates an adult's fat-burning heart rate, which is 70% of 220 minus the person's age. Complete fat_burn
    10·1 answer
  • Java Programming home > 1.14: zylab training: Interleaved input/output Н zyBooks catalog Try submitting it for grading (click
    6·1 answer
  • In today’s fast-paced, often "agile" software development, how can the secure design be implemented?
    11·1 answer
  • To reduce costs and the environmental impact of commuting, your company decides to close a number of offices and to provide supp
    11·1 answer
  • Which one of the following characteristics or skills of a ScrumMaster are closelyaligned with coaching?Select one:
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!