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
One emerging type of trojan horse is called a ____-access trojan.
Sliva [168]
<span>One emerging type of Trojan horse is called a remote-access Trojan (RAT).
</span> RAT is a malware program.  With this Trojan horse an intruder is given administrative control over a target computer. The RAT controls the system via a remote network connection as if by physical access. It is typically installed<span> invisibly with a user-requested program.</span>
3 0
4 years ago
1. Describe the sequencing of factors influencing health status codes for patients that also have chronic conditions being manag
Vesnalui [34]
Bubyggyy tvtvtvttfrcrt
4 0
3 years ago
Explain the advantages of taking the aspire test
Len [333]

<span>The Aspire test plan is similar to the ACT </span>plan but they have different goals and format. The ACT was simply a readiness test and seeks to assess your academic progress. The Aspire, on the other hand, focuses more on critical and creative thinking. It is a good way to judge your progress but it won’t affect your applications to college admissions and scholarship.

8 0
4 years ago
in makecode arcade, which part of the interface can be used to answer questions about how a block functions?
Blababa [14]

in make code arcade, The Advanced section is the part of the interface can be used to answer questions about how a block functions.

<h3>What is the function about?</h3>

In Blocks, Functions is known to be the element that one can find under the Advanced section.

Note that in finding functions in block, student can be be introduced to Simple functions.

Hence, in make code arcade, The Advanced section is the part of the interface can be used to answer questions about how a block functions.

Learn more about block functions from

brainly.com/question/17043948

#SPJ1

8 0
2 years ago
Unlike the climate of the other islands of Hawaii, ________Kona contains 54 different temperate zones.
kramer

Answer:

<u>None</u>

Explanation:

Great question, it is always good to ask away and get rid of any doubts that you may be having.

Unfortunately, none of these answers would be factually nor grammatically correct. For Starters Kona is not an island Kailua-kona is the capital town of the Big Island in Hawaii.

Regardless of that fact, none of the answers given would make the sentence make sense grammatically. The Only way for the sentence to make sense grammatically, the answer either needs to stay blank or be Kailua. Like so...

Unlike the climate of the other islands of Hawaii, <u>Kailua</u> Kona contains 54 different temperate zones.

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

6 0
3 years ago
Other questions:
  • Please label the parts its urgent Best answer receives a brainliest and 20 points please i need it :) :) ​
    5·2 answers
  • You've been hired as a consultant to help an online store owner. You need to complete the implementation of conversion tracking
    6·1 answer
  • A feature that displays in the lower right corner of a selected range with which you can analyze your data by using Excel tools
    12·2 answers
  • When you purchase an item in a store, you may be charged __________.
    11·2 answers
  • Miley met up with a bunch of her college friends after several years. She told them that she works for the sound department of a
    5·1 answer
  • Determine what is printed by the following code.
    8·1 answer
  • Create a Python program that computes the cost of carpeting a room. Your program should prompt the user for the width and length
    10·1 answer
  • 100 POINTS PLEASE HELP Type the correct answer in the box. Spell all words correctly.
    15·1 answer
  • Evaluating sorts given the following array: 41, 32, 5, 8, 7, 50, 11 show what the array looks like after the first swap of a bub
    11·1 answer
  • HELP ME PLEASE 41 PTS
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!