Read the problem listed below. Formulate a Decomposition or Outline of the problem. Determine if you have seen this problem before 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.

Answers

Answer 1

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


Related Questions

What would graphics be classified as?

Answers

Answer:

raster and vector graphics

raster graphics is the answer

Distinguish between principles, guidelines and standards, using examples of each to illustrate​

Answers

Explanation:

principles is what governs a place

guidelines is what you read to guide you

standards is what build up in your self

Answer:

A principle is a basic truth to live by, such as “All human beings are equal in the eyes of God.” A guideline is a general rule or piece of advice such as “don't burn your bridges.” A standard is a rule to be upheld such as the Ten

you cannot create a folder within a folder true or false ​

Answers

HI THERE !!

the answer is false :))

correct me if I'm wrong

Answer:

true

Explanation:


Which source would provide the best way to find valid information about climate change

Answers

Primary sources would be best

The primary source would provide the best way to find valid information about climate change.

What is Climate change?

Climate change may be defined as the change in the average conditions such as temperature and rainfall in a region over a long period of time. In more simple words, climate change refers to the long-term shifts in temperatures and weather patterns.

The burning of fossil fuels like coal, oil, and gas for electricity, heat, and transportation is the primary source of human-generated emissions. A second major source is a deforestation, which releases sequestered (or stored) carbon into the air.

Both of these sources are significantly responsible for the causation of climate change in the specific region over a long period of time.

Therefore, the primary source would provide the best way to find valid information about climate change.

To learn more about Climate change, refer to the link:

https://brainly.com/question/24793273

#SPJ2

The definition of "nested statements" is _____.
a. elements of HTML that work within other elements of HTML
b. elements of specific text that work within elements of HTML
c. elements of specific code that work within elements of HTML
d. elements of HTML that work outside of elements of HTML

Answers

C??i think sorry if wrong ..

Can someone help me do this who ever does it first get 100 points :)

Answers

Answer:

Wired: Means a cable or a wire connected thats the opposite of wireless.

Wireless is bascially a device with no cable needed.

3G: GB

4G: GB

5G: GB

Explanation:

Wired: Means a cable or a wire connected thats the opposite of wireless.

Wireless is bascially a device with no cable needed.

3G: GB

4G: GB

5G: GB

What is information technology in relation to computers

Answers

Answer:

Information technology (IT) is the use of any computers, storage, networking and other physical devices, infrastructure and processes to create, process, store, secure and exchange all forms of electronic data. ... The commercial use of IT encompasses both computer technology and telecommunications.

Answer:

Information technology (IT) is the use of any computers, storage, networking and other physical devices, infrastructure and processes to create, process, store, secure and exchange all forms of electronic data.

Explanation:

Hope this helps

1. All the computer has a power button.​

Answers

Answer:

The power button is a round or square button that powers an electronic device on and off. Nearly all electronic devices have power buttons or power switches. Typically, the device powers on when the button is pressed and powers off when it's pressed again.

Explanation:

1. True. All computers have some way of turning on or off. whether that be a button or a switch.

what is the keyboard shortcut to display formulas on the worksheet

Answers

the keyboard shortcut is c=8

What is the trickle down approach to poverty?

Answers

The proponents of trickle-down economics, argues that rising incomes at the top end of the spectrum would lead to more jobs, more output, more income and less poverty as the growth and higher incomes at the top end will move at the lower end and to the poor.

Answer:

Tax breaks and benefits for corporations and the wealthy will trickle down to everyone else as stated by the Trickle-down Economics/Trickle-down Theory.

Explanation:

The Trickle-down Economics argues for income and capital gains tax breaks or other financial benefits to large businesses, investors, and entrepreneurs to stimulate economic growth.

Corporation-a legal entity that's separate and distinct from its owners.

Write an overloaded function max that takes either two or three parameters of type double and returns the largest of them.

Answers

#include
#include
using namespace std;

// first overloaded function, with 2 parameters
double max(double x, double y){
if(x > y) return x;
else return y;
}
// second overloaded function, with 3 parameters
double max(double x, double y, double z){
// get the maximum of first 2 numbers, store it in 'temp'
double temp = max(x, y);
// get the maximum oamongf temp and the third number
if(temp > z) return temp;
else return z;
}

// main starts
int main(){
// declare 3 variables to store the numbers
double a, b, c;
// prompt the user to enter 3 numbers
cout << "Enter three numbers: ";
// input 3 numbers
cin >> a >> b >> c;
// set the number of digits after decimal points to 1
cout << fixed << setprecision(1);
// print the maximum of first 2 numbers
cout << "The maximum of " << a << " and " << b << " is " << max(a, b) << endl;
// print the maximum of all the 3 numbers
cout << "The maximum of " << a << ", " << b << " and " << c << " is " << max(a, b, c) << endl;
return 0;
}

The program is an illustration of overloaded functions

Overloaded functions are different functions with the same name

The overloaded function

The function written in Python, where comments are used to explain each action is as follows;

# This defines the first overload function

def maxNum(a, b):

   #This returns the maximum

return max(a,b)

# This defines the second overload function

def maxNum(a, b, c):

   #This returns the maximum

return max(a,b,c)

Read more about functions at:

https://brainly.com/question/26497128

#SPJ9

True or false: the web-based game "We Are Data" connected to real data in real time in the cities of London, Berlin, and Tokyo.

Answers

The answer of this question is true

The web-based game we data is connected to real data in the real-time of cities such as London and berlin is true.

What is a web-based game?

The web-based game is one that is an online internet-based game that makes use of the browser and is a multiplayer game this can be connected to the server of the host or the home country such as the berline, Toyko, and even London, etc.

Find out more information about the web-based game.

brainly.com/question/21133985

How can you create a messages to look like an IMessage?

Answers

Answer:

An article about the company in a city newspaper are consumers most like to trust.

Explanation:

You would like the word "Employee" to appear in cells A1, B1, C1, D1, and E1. To be efficient, you should
type the label in Al and drag down column A
use the merge and center command
type the label in Al and use autofill
type the label in each of the cells

Answers

To be efficient, type the label in Al and use autofill. Check more about excel below.

What is Excel used for?

Microsoft Excel is known to be a kind of software that helps its users to be able to edit, organize and calculate data through the use of a spreadsheet.

Note that one can be able to duplicate a word such as "Employee" on excel by typing the label in Al  and use autofill.

Learn more about Excel from

https://brainly.com/question/25879801

#SPJ2

You can enter common data in multiple worksheets by __________.
a) Grouping Worksheets
b) Data Validation
c) PivotTable
d) Consolidating Data​

Answers

Answer:

A.) Grouping Worksheet.

Explanation:

Hope this helps!

"Automated Deployment" is one of the prerequisite for DevOps implementation.
A) True
B) False

Answers

Answer:

"Automated Deployment" is one of the prerequisite for DevOps implementation.

Answer: True

True. "Automated Deployment" is one of the prerequisite for DevOps implementation.

What is Automated Deployment

Automated Deployment is indeed considered one of the prerequisites for implementing DevOps practices effectively. DevOps is a set of principles and practices aimed at improving collaboration between software development (Dev) and IT operations (Ops) teams.

The goal of DevOps is to streamline and automate the software delivery process to achieve faster and more reliable releases while maintaining quality and stability.

Automated Deployment refers to the process of automatically deploying and configuring software applications across various environments, such as development, testing, staging, and production. This automation eliminates the need for manual intervention and reduces the chances of human error during the deployment process.

Learn more about DevOps implementation

https://brainly.com/question/28135867

#SPJ2

Please help ASAP

14. What is the following code snippet doing?
cities_array = ["Boston":"Winthrop", "Belmont". "Braintree", "Cambridge"]

O increasing the scope of the variable cities_Array

O validating city inputs

O creating an index s city names for an array

OThis code would return a syntax error.

Answers

( If this is in python) then it would return a syntax error because you have used a dot and a colon instead of a comma

Shifting various computer activities from your
own computer to servers on the internet is referred
to as:

Answers

Answer:

Data transfer???I don't remember one of the easiest questions of my life

what identifies a cell or a range of cells on a worksheet, and tells excel where to look for values or data you to use in a formula

Answers

I believe it is a cell Reference

What is one problem caused by spending too much time studying at your computer? A. It increases stress and negatively affects your sleep. B. It causes you to forget other projects that need work. C. It makes it more difficult to organize your time. D. It is not an effective use of your study time.

Answers

Answer:

A - It increases stress and negatively affects your sleep.

Hope that helps. x

Answer:

The answer is A

Explanation:

a computer memory that acts as the main storage available to user for programs and data

Answers

Answer:

Primary storage. Primary storage (also known as main memory, internal memory, or prime memory), often referred to simply as memory, is the only one directly accessible to the CPU.

I want know answer for best way to copy formula on MS Access

Answers

Answer:

copy and paste is alternate

What is the purpose behind the Three Phase Commit? It improves upon the two phased commit by requiring that locks be acquired at the start of a transaction. It allows for coordination even in the event of unreliable network connections. It ensures that no shared locks are help by other connections in the event of a write operation. None of the above.

Answers

The answer is a) It improves upon the two-phased commit by requiring that locks be acquired at the start of a transaction.

Reason: The 3PC is an extension or you can say developed from 2PC that avoids blocking of an operation. It just ensures that first n sites have intended to commit a transaction that means it acquires commits or locks before the start of any transaction to avoid any blocking.

Option b) is wrong as it does not allow coordination, it just let all the other sites do their transaction if any other site is blocked, so no coordination is there between sites that they will wait till their coordinator is corrected.

Option c) is wrong as lock operations are shared between other connections as when their coordinator fails, the new coordinator agrees to the old coordinator that they had shared locks before and they can start their transaction.

Option d) is wrong as option a) is correct.

If you like the answer, please upvote.

¿Cuál es la capacidad pulmonar del hombre y la mujer?

Answers

Answer

El RV promedio en hombres es 1.2 L y para las mujeres es 1.1 L.

what are the parts system unit​

Answers

Explanation:

there are 6 main system unit components:

motherboard

processor

RAM

hard drive

video card

power supply.

examples of ownership​

Answers

Answer:

Ownership is the legal right to possess something. An example of ownership is possessing a specific house and property. The total body of rights to use and enjoy a property, to pass it on to someone else as an inheritance, or to convey it by sale.

8. Assuming str(rate) is "7.25," what output would be produced by the following snippet:
print("The hourly parking rate is $." + str(rate))


O "The hourly parking rate is $7.25"

O "The hourly parking rate is $ 7.25"

O "The hourly parking rate is $." "7.25"

O The print comfwand would fail because the rate is an integer, not a string,

Answers

The output would be "The hourly parking rate is $7.25"

The question is an example of concatenation.

Concatenation is an operation in computer programming in which a string is added to another string with the binary operation, '+' or '*'.

So, 'Frank' + 'Peter' concatenates as 'FrankPeter' and 'a' *3 concatenates as 'aaa'.

Since str(rate) is "7.25," which is a string, and the snippet is print("The hourly parking rate is $." + str(rate)), str(rate) will concatenate and be added to the expression "The hourly parking rate is $."

So, the output would be "The hourly parking rate is $7.25"

Note that since there is no space at the end of the first string, the second string is added to the first string directly without any spacing between the '$' sign and the '7'.

So, the output would be "The hourly parking rate is $7.25"

Learn more about concatenation here:

https://brainly.com/question/17031234

What website can you make videos on Chromebook or computer that's free without downloading?

Answers

1) wevideo
2) magisto
3) stupeflix video maker


Type the correct answer in the box

How is it possible to understand the flow of data in an organization?

Conducting ______ with each team member makes it possible to understand the flow of data in an organization.

Answers

Data ?? I think sorry if wrong ..

What refers to a set of instructions executed in order?
code block
code snippet
sequence
blueprint
30 points

Answers

Answer:

I think the answer is sequence

Answer:

sequence

sequence

Other Questions
1. Credit Line Read the credit line for FamilyGroup (Figure 1.18). List the following theartist's name, the date the artwork was cre-ated, the medium used, the size, and the lo-cation of the work. If you were standing infront of Family Group, how would the levelof your head relate to the heads of thepeople? need little help pls True or false: the web-based game "We Are Data" connected to real data in real time in the cities of London, Berlin, and Tokyo. A: On a cold morning, dewdrops are formed on the leaves. R: Water vapor is formed when liquid is heated to a high temperature. ASAP Give an example of psuedo-science and explain why it is not considered true science. (HELP FAST) How can a state law such as the parent rights law in Florida, affect other levels of government? what is oxidation number on Ni in the next compoundK2[NiBr6] ??? Complete the first step of the indirect proof of the following statement:"4X+3>12"Assume temporarily that 4x+3 12.>O How do you find the final velocity of two objects colliding when you only have the mass and initial velocity of both objects Help plz? ;You are a reporter during the 1400's. Your assignment is to write a feature story on Queen Isabella and her decision to send Christopher Columbus on a voyage of discovery. At the time this was a big responsibility as well as an expensive venture, so be sure to include reasons why Queen Isabella thought this was a necessary endeavor.Your story must include a title and contain at least four paragraphs with a minimum of 5 sentences each. Include your resources that you used in writing your story. What is an equation of the line that passes through the point (6,-4) and isperpendicular to the line 22 - y = 5? What is the value of this expression when y = 6? 6(4y3)9y Q10. Five t-shirts and a hat cost 83.00. Two t-shirts and a hat cost 38.00. How much does one t-shirt cost?No spam links and plz write down the answer. Can you give us. flour for the batter.A)ThreeB)A littleC)A few 6(25-8w)+20w for w=2 pls heeelpppp meee and NO LINKS I WILL REPORT what are the right answers, very easy question if you speak Spanish PLZ HELP ASAP!!! Explain the steps in identifying a Supreme Court case related to an issue. In a group of workers, 16 belonged to a lottery syndicate and 4 did not.What fraction of the workers did not belong to the syndicate?1: 4/16 2: 1/5 3: 1/4 4: 3/4 In the end the Union was preserved, but at what price?