Answer:
Following are the code to this question can be described as follows:
c= input('Input triangle_char: ') #defining variable c that input character value
length = int(input('Enter triangle_height: ')) # Enter total height of triangle
for i in range(length): # loop for column values
for j in range(i+1): #loop to print row values
print(c,end=' ') #print value
print()# for new line
Output:
please find the attachment.
Explanation:
In the above python code, two variable "c and length" variables are declared, in variable c is used to input char variable value, in the next line, length variable is defined, that accepts total height from the user.
- In the next line, two for loop is declared, it uses as nested looping, in which the outer loop prints column values and inner the loop is used to prints rows.
- To prints all the value the print method is used, which prints the user input character triangle.
Answer:
Option D is the correct answer for the above question.
Explanation:
Email list (as the name suggests) is defined as the set of an Email address. It is also the group of address which is needs for message distribution because an Email address is the only necessary part to send the mail which is also called the message. When a user wants to send the mass Email or message then he needs a list of email which can be filled at the "TO" or "CC" or "BCC" part of the compose mail and it can be able to send the mass message.
The above question asked about the list which is useful for the mass message then the answer is an Email list which is stated from the option D. Hence option D is the correct answer while other is not because--
- Option A states the actor list which is not required to send the mail.
- Option B states the client list which is not required to send the mail.
- Option C states the chat list which is not required to send the mail.
Answer:
The answer to this question is given below in the explanation section.
Explanation:
The correct answer to this question is d- 346px.
The complete code of this example is given below:
<div>
style="margin:20px; border:solid 3px #888888;">
</div>
while the image width is 300px.
It is noted that the image width is 300px and the margin is 20 px.
Margin:20px means that image margin from four side is 20 px each.
So the width of dive from both side increase to 40 px and the image has 300 px, then total width becomes 340px. Now the border also has 3px of four sides of the image, then the width of the border becomes 6px.
so the total width of the div tag is 346 px.
In short, we can calculate the width of tag as below:
total width of div= width of image+ width of margin+ width of border
total width of dive= 300px+40px+6px
total width of div=346px.
Amost all professions include theuse of computers. Knowing a lot about them and the way they work could help you use them when needed in a work environment. It would also make an employer more likely to hire you.
We are in the modern era and the information era