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
Akimi4 [234]
3 years ago
15

Read the problem listed below. Formulate a Decomposition or Outline of the problem. Determine if you have seen this problem befo

re and how it was solved. Start to write your Algorithm, making note of the inputs and outputs that will be required. Write your code, test and debug.
Problem:
Create a program in Python that will draw a series of triangles. The program needs to ask the user for the number of triangles to draw and the size of the triangle.

The inputs for this program need to look like the following:

Enter the number of triangles:
Enter the size of the triangles:
Using these two inputs, your program will then draw a series of triangles in the size the user wishes.

For example if the user enters 3 triangles with a size of 5, the following will be the output:

*
**
***
****

*
**
***
****

*
**
***
****
The easiest way to solve this problem is with two loops. One loop draws the triangles and the other repeats the drawing.

When testing your program make sure you test with different sizes and different numbers of triangles as this will be how your code will be run by Codio.
Computers and Technology
1 answer:
SashulF [63]3 years ago
7 0

URL where the media can be found;

the description of the type of media used in the example;

an analysis of the media piece in relation to the best practices discussed in this lesson, which answers these questions:

Does the piece illustrate best practices?

Which are best represented?

What point do you feel the company

You might be interested in
Using data from the BITS database, define a view named TopLevelClient. It consists of the number, name, address, balance, and cr
LiRa [457]

Answer:

Check the explanation

Explanation:

a) Consider the following SQL query to create a view TopLevelCust

Query: Create View TopLevelCust AS Select CustomerNum, CustomerName, Street, City, State, PostalCode, Balance, Creditlimit From Customer Where Creditlimit P= 10000,  

  • In order to create a view for TopLevelCust, it is required to replace viewname with TopLevelCust
  • select Clause is used to retrieve stored records from the table o CustomerNum, CustomerName, Street, City, State, PostalCode, Balance and Creditlimit are the attribute name
  • from clause specifies one or more table from where records. be retrieved o Customer is the table name
  • where clause is used in SQL query to retrieve only those records that satisfy the specified condition
  • CreditlLimit>=10000 is the specified condition to retrieve the information from table.
6 0
4 years ago
Anybody got a quisten
Fiesta28 [93]

Answer:

no why?

Explanation:

8 0
3 years ago
(a) Explain the difference between a web browser and a search engine.​
mamaluj [8]

Answer: a browser is your access to the internet, and a search engine allows you to search the internet once you have access.

Explanation:

3 0
3 years ago
What are 25 items that trees made?
alexandr1967 [171]

Answer:

(things,can't think of more

.......)

  • paper
  • charcoal
  • doors
  • chairs
  • jewelry
  • wood frames
  • broom handles
  • furniture made with wood
6 0
3 years ago
Read 2 more answers
I accidentally pressed the challenge button while I was scrolling through. I didn't mean to press that challenge, instead of the
kondor19780726 [428]

Answer:

Can u pls answer my questions I’m so stuck and I need them by tmrw or today pls I don’t know how to get ahold of u

Explanation:

5 0
4 years ago
Read 2 more answers
Other questions:
  • In two or more complete sentences, summarize the difference between renewable and nonrenewable resources? Justify your responses
    13·2 answers
  • If you are feeling sick and you want to drive somewhere, you should
    12·2 answers
  • What is the most common concern with using variable frequency drives?
    6·1 answer
  • Why does the randomNumber function only use whole numbers between 0 and 1 (basically, 0 and 1)?
    13·1 answer
  • Is it possible to see who logged in in youre Microsoft teams account
    11·2 answers
  • Write a program that lets the user enter the loan amount and loan period in number of years and displays the monthly and total p
    13·1 answer
  • Help I will mark BRAINLIEST !<br> Explain looping as an invention strategy. Why is it helpful?
    12·1 answer
  • Why is nigeria no<br>t in the country list​
    6·2 answers
  • What is the difference between applying risk measures for insurance purposes versus applying risk measures for compliance? Provi
    11·1 answer
  • A(n) ____ is a live internet presentation that supports interactive communications between the presenter and the audience.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!