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
kondaur [170]
4 years ago
9

This program will output a right triangle based on user specified height triangle_height and symbol triangle_char. (1) The given

program outputs a fixed-height triangle using a * character. Modify the given program to output a right triangle that instead uses the user-specified triangle_char character. (1 pt) (2) Modify the program to use a loop to output a right triangle of height triangle_height. The first line will have one user-specified character, such as % or *. Each subsequent line will have one additional user-specified character until the number in the triangle's base reaches triangle_height. Output a space after each user-specified character, including a line's last user-specified character. (2 pts)
Computers and Technology
1 answer:
Arturiano [62]4 years ago
4 0

Answer:

See explaination

Explanation:

triangle_char = input('Enter a character:\n')

triangle_height = int(input('Enter triangle height:\n'))

print('')

for i in range(triangle_height):

for j in range(i+1):

print(triangle_char, end = " ")

print()

You might be interested in
You have been tasked with designing an Ethernet network. Your client needs to implement a very high-speed network backbone betwe
lorasvet [3.4K]

Answer:

A and C

Explanation:

From the above scenario, the Ethernet standards that meet the above guidelines are:

A. 1000BaseSX; and

C. 10GBaseSR.

Cheers

3 0
3 years ago
Whats worth more in adopt me- A Mega Owl or a Mega Frost Dragon?
serg [7]

Answer:

I think mega frost dragon i d k

Explanation:

6 0
2 years ago
Read 2 more answers
Which of the following does not accurately describe asynchronous communication?
worty [1.4K]

Answer:

A. While new media is dependent on whether users function in real-time or delayed mode, feedback is not as timely when communication is asynchronous.

Explanation:

Asynchronous communication can be defined as a data communication technique in which exchange of data between a sender and a recipient isn't in real time.

There's usually a time lag, meaning it doesn't require the recipient to respond immediately.

For example, responding to an email or text several hours later.

6 0
3 years ago
Read 2 more answers
True or False? The filtering phase of object-oriented problem solving determines which of the possible classes generated during
tangare [24]

Answer:

The answer is "True".

Explanation:

  • The object-oriented problem-solving, filtering process determines, that only one of the potential classes.It generates through brainstorming was the core class in the solution.
  • In the major issue-solving step, were searching for items important to Sorting. Once we discuss with categories we select. Next, do anything to copies.
5 0
3 years ago
Name three items that currently are enhanced due to the embedded computer technology
ArbitrLikvidat [17]

The three items that can be enhanced due to the embedded computer technology are

Digital cameras

Smart phones

Home appliances

There is a massive list of items that are enhanced due to embedded computer technology. They range from simple systems like calculators, digital cameras, mobile phones, home appliances, to advanced systems like control nuclear power plant systems. All these items mentioned are always set to perform a particular function. They allow integration of various operating systems and are built to take advantage of miniature software or hardware state of electronic devices. Items such as smart phones have been enhanced and designed for power efficiency. They have taken advantage of embedded computing technology and do not come with heavy moving components like fans and huge processors. The same case applies to Digital cameras and Home appliance. Embedded computers in heavy equipment such as a washing machine cannot be compared to computing technology in a digital Panasonic camera.

6 0
4 years ago
Other questions:
  • The following 2D array has been created:
    12·2 answers
  • Which devices typically generate computer output ?
    8·2 answers
  • what is the purpose of the Outline view in word 2016? check all that apply. 1. editing the format of size and text. 2.working wi
    11·1 answer
  • The construction of a mixed media assemblage would be considered
    9·1 answer
  • Write an algorithm and draw a flowchart for switching off a machine after it has made 500 glass bottles. use an appropriate cond
    10·1 answer
  • When your grounded and the only thing you can get on is a computer........................oh welllllllllllllllllllllllllllllllll
    7·1 answer
  • Modify the Comments.java program from Programming Exercise 1-10 so at least one of the statements about comments is displayed in
    10·1 answer
  • If a movie, song, or book is offered for free, is it malware?
    15·1 answer
  • Why is my speedtest is very good but chrome is slow
    11·1 answer
  • Name the major types of computer systems from slowest to fastest. ​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!