Python 3.12 LAB: Input and formatted output: Right-facing arrow Given input characters for an arrowhead and arrow body, print a right-facing arrow. Ex: If the input is: * # Then the output is: # ******## ******### ******## #

Answers

Answer 1

The code below prints the required shape using the string manipulations in Python.

In Python, if we multiply a character with a number, we get that character side by side that number of times.

For example: 6 * '#' would give us → ######

Also, we can use + sign to concatenate the strings.

For example: 'hi' + ' there' would give us → hi there

We use this approaches to print the required shape line by line.

Comments are used to explain each line.

The output is attached as an image.

#get the characters from the user

base_char = input()

head_char = input()

#set first row with 6 spaces and 1 head_char

row1 = 6 * ' ' + head_char

#set second row with 6 base_chars and 2 head_chars

row2 = 6 * base_char + 2 * head_char

#set third row with row2 and 1 head_char

row3 = row2 + head_char

#print the rows to draw the shape

print(row1)

print(row2)

print(row3)

print(row2)

print(row1)

You may see another question at:

https://brainly.com/question/22101725

Python 3.12 LAB: Input And Formatted Output: Right-facing Arrow Given Input Characters For An Arrowhead

Related Questions

Electronic payment system is a——–.
a. An informal report.
b. Not having legal sanction.
c. Always a statistical report.
d. Formal report.

Answers

[tex]\huge \mathcal \fcolorbox{cyan}{black}{ \blue{AnSweR}}[/tex]

Electronic payment system is a Formal report.
The answer is a. An informal report.

Project: Current Event: Cyber Bullying
Using the Internet, your local paper, or other resources, find a recent article on cyber bullying
(published in the last two years). Write an article review that includes:
1. a description of the article (was it a case of cyber bullying or ways to prevent cyber bulling?);
2. list five key points and describe how they apply to you and your use of social media;
3. make a suggestion of two important things that you think the article should have, but did not
cover; and
4. include the URL to the article or a copy of the article.

Answers

Sending, posting, or disseminating unfavorable, hurtful, or malicious content about someone else is considered cyberbullying. It can also involve disclosing sensitive or private information about another individual in a way that causes embarrassment or humiliation.

What are the research paper's impacts on cyberbullying?

The current study contributes to the expanding corpus of research on the effects of being a victim of cyberbullying on depressive symptoms and bad thoughts in adolescents and young adults. According to our research, those who experience cyberbullying are more likely to have sadness and bad thoughts. Cyberbullying occasionally veers into illegal or criminal action.

Teenagers who experience cyberbullying report more severe bodily symptoms, anxiety, loneliness, and depression symptoms. Cyberbullying perpetrators are more likely to admit to abusing drugs, acting aggressively, and engaging in delinquent behavior.

To know more about the Cyber Bullying visit;

https://brainly.com/question/1460915

#SPJ1

You are working as a security expert in an e-commerce enterprise. Your company recently decided on a short-term collaboration with a small business named BuyMe, and the following issue arose. Whenever your customers purchase any product from BuyMe, the e-commerce website redirects them to the BuyMe website, asking for additional authentication. This results in customers abandoning their purchases. To solve this issue, both enterprises agree to use a single authentication process wherein the users, once logged in to your website, can purchase from BuyMe without additional steps.

How should you implement this without storing the customers' credentials on the BuyMe server?

a. Use RADIUS authentication
b. Use Using Kerberos authentication
c. Use TACACS+
d. Use SAML

Answers

Answer:

Use TACACS+. IT IS THE BEST

Explanation:

IT IS THE BEST

Answer: Use SAML

Explanation:

Take the midterm, quiz, and final exam of 5.1 million points, and the average score is 1) A if it is 90 or higher, 2) B if it is less than 90 and 80 or higher, 3) C if it is less than 80 and 70 or higher, 4) Write a program that outputs D if less than 70 and more than 60, 5) F if less than 60.

Answers

Answer:

B

Explanation:

Not so sure

what is a "for loop" that will produce the following output:

1+2 = 3
2+3 = 5
4+5 = 9
8+9 = 17
16+17 = 33
32+33 = 65
64+65 = 129

any help would be very appreciated

Answers

Answer:

128+129= 257

Explanation:

128+129= 257

Answer:

1+2= 3

loop for all interger

someone pls help me!!!

Answers

Answer:

I think it’s really cool. You don’t have to find someone’s Gm ail and then write a subject and whatever else. You can just send it like a message. I love how it has the call option because it means that you don’t have to have a number to call your friends or family. And you can do business em ail while messaging whoever you need to instead of going back and forth.  

You can promote your business. You can also promote your video and share your screen. It is also a good way to talk to customers to discuss what you need to. A bunch of people have emails and it’s fairly simple to just add your friend and text them.  

It might be hard to figure out at first. But when you get used to it it’s fairly simple. It can also shut down due to a bug and stop working, which makes it even more complicated. You can also get creeps that can hack into your Gm ail and read all of your information.

Explanation: heres a better one with no typos

Pls help me to answer this question ASAP

Answers

It’s about yourself. Answer the questions on how you’ve been experiencing them in your life

Project light with a system of lenses used for projecting slides or film into a screen.

Answers

Answer:

Optical system. An overhead projector works on the same principle as a slide projector, in which a focusing lens projects light from an illuminated slide onto a projection screen where a real image is formed.

Explanation:

What is the importance of size in graphic design?​

Answers

In design, size can function, size can attract or size can organize. When you are designing a piece, size plays an important role in making a layout functional, attractive and organized.


have a great day:)

highlight and detail two ways that you can use excel to make you more efficient as a college student

Answers

You can use excel to help you become more successful because you can use it to write all your grades for each class and see what you need to improve on. You can also keep track of everything on a spreadsheet. Another way excel helps you and is beneficial in college is you can use it to put the information of all the classes you have taken to see if you have enough credits or what credits you will need to pass. Excel is very beneficial in many ways.

MS excel is a office program and is quite commonly used in day to day business. The application is easy to use and have various advantages, as it can be used for statistical and scientific purposes.

The application can be made easy and presented in numerous ways. In order to highlight the importance of this software as a college student one can show the methods to interpret the data.  Making worksheets and visualizing large amounts of data. Use of shortcuts for formula and use graphics to enhance presentations.

Learn more about the detail two ways that you can use excel to make you.

brainly.com/question/24325415.

Assume that two students are trying to register for a course in which there is only one open seat. What component of a database system prevents both students from being given that last seat?

Answers

Answer:

Transaction isolation

Explanation:

The student that has initiated the transaction before the other one will be given the seat. The database will be locked for the second student during the period of transaction of the first student. The transaction isolation level is a state within databases that specifies the amount of data that is visible to a statement in a transaction, specifically when the same data source is accessed by multiple transactions simultaneously.

The component of the database that prevents both students from getting the last seat is: transaction isolation

Data that enters the database are expected to maintain accuracy and also be consistent with the database structure.

So, when both students request for the last seat, the possibilities are:

Student A gets the seatStudent B gets the seat

The following is not a possibility

Both students get the seatNone of the students gets the seat

The above highlights means that, only one of the students would get the seat.

This is possible because of the concept called transaction isolation.

The transaction isolation ensures that the data requested by a user is complete and such data maintains competency.

So, when a student gets the last seat, the next student would not get the same seat (or any other seat), because a transaction has already been completed.

Read more about transaction isolation at:

https://brainly.com/question/13030145


What important role is being described?
Completes the Action Item form.

Answers

Answer:

A sponsor is a member of congress who is willing to introduce and back the legislation. Explanation:

BRAINLIEST!!!!!!!!!!!!!!

Which of the following options in Backstage View should be selected if you want to open a new, blank document?

○ Share
○ Open
○ Export
○ New​

Answers

Answer:

New

Explanation:

open just makes you open the last project you were working on, new makes a brand new one.

When you wish to start afresh with a blank document, select new choices in Backstage Views.

Backstage View:

Opening simply opens the last project you were operating on, whereas new creates a whole new one.

This backstage view aids in the creation of new documents, as well as the saving, viewing, printing, and publishing of existing ones.

If you already have a document open, a window will pop up with data on the file, as shown below.

Therefore, the final answer is "New".

Find out more information about the View here:

brainly.com/question/14934880

How to resize images for the Wallpaper subreddit in r.eddit.

Answers

Answer:

You can probably use a website to change the resolution of the image.

8. This machine is used for high speed, high volume printing l. Can print about 1000 papers at one point in time.

A) Scanner
B) Printer
C) Risograph
D) Photocopier

Answers

Answer:

Risographs can produce up to typically 150 pages per minute. So I'm guessing its c.

Explanation:

_________is a type of bullying that occurs when a person continuously pursues another and gives
unwanted attention

Answers

Answer:

stalking ?

Explanation:

Answer:

stalking

Explanation:

name of the people associated with the development of computer briefly explain thier contribute

Answers

Snsnsnnsnsnsnsjsmsns

identifica clases de técnicas que se emplean para el desarrollo y emplean empleo de las cosas que nos rodean hechos para satisfacer la necesidad del ser humano.


AYUDA ES PARA HOYY

Y PORFAVOR EXPLÍQUENME EN ESPAÑOL

Answers

Answer:

HEY I SAID PHYSICS NOT COMPUTER STUFF

Explanation:

I CAN'T EVEN READ IT

What type of computer is IBM 1401 ?

Answers

Answer:

The IBM 1401 is a variable-word length decimal computer that was announced by IBM on October 5, 1959.

Compare Ethernet frames to other frames.


•Most frames use CRC, but Ethernet does not. •Most frames use a protocol called CSMA/CD.

•Ethernet frames generally do not have stop frames.

•Ethernet frames have more parts in their frame footers.

Answers

Most frames use crux and I can only do a couple

LANGUAGE IS PYTHON PLEASE HELP.

Write a while loop that repeats while user_num ≥ 1. In each loop iteration, divide user_num by 2, then print user_num.

Sample output with input: 20
10.0
5.0
2.5
1.25
0.625

Answers

10.0 + 5.0 + 2.5 = 17

List 2 negative impacts of cybersecurity.



Answer and I will give you brainiliest ​

Answers

Answer:

Cyber security can be used for good but nevertheless some people will find ways to do bad things. Basically the negative impacts of cyber security is the opposite to the good type of cyber security they take advantage of it and exploit computer system to do what they want. An example to this is planting a malware on the victim's computer or using a DDOS attack on a WiFi router the possibility are endless.

Which of the following is an example of an output device on a smartphone?
the speaker
the microphone
the battery
the memory card

Answers

Answer:

The speaker

Explanation:

Speakers are output devices because the audio is taken from the app or website and playing it towards the speakers.

You plan to write an app to find the best hiking trails for families. Which statement is true about this step?
You have drawn pictures of what your screens will look like and identified the input-process-output that occurs on each screen.
You have defined a use case.
In this step, you defined your target audience and main goal.
Your app is functioning and ready to test.

Answers

The statements that are true about this step are:

In this step, you defined your target audience and main goal.You have drawn pictures of what your screens will look like and identified the input-process-output that occurs on each screen. Your app is functioning and ready to test.

Is it hard to create an app?

Most times, it often takes at least  4- 6 weeks to be a good Android developer. Note that a Basic developer skills are said to be not enough to build a commercial app and as thus, one need good training.

Conclusive, By knowing your target audience and  following the steps above, one can make a good hiking app.

Learn more about hiking from

https://brainly.com/question/16430743

Answer:

C:  in this step, you defined your target audience and main goal

Explanation:

got it right on edge

Write a predicate function called same_ends that accepts a list of integers and an integer (n) as arguments. Return True if the first n numbers in the list are the same as the last n numbers in the list, and False otherwise. For example, if the list was [1, 2, 3, 4, 99, 1, 2, 3, 4], the function would return True if n is 4 and False if n is 3. Assume that n is between 1 and the length of the list, inclusive. Solve It!

Answers

Answer:

5=5

Explanation:

2+2 is 4

Below is the required Python code for the program.

Python

Program code:

# Starting the code

# Defining a function

def same_ends(lst, n):

   # Starting a loop

   if lst[:n] == lst[-n:]:

       return True

   else:

       return False

# Testing the function

lst = [1, 2, 3, 4, 99, 1, 2, 3, 4]

# Printing the values

print(same_ends(lst,4))

print(same_ends(lst,3))

Explanation:

Starting the code.Defining a function.Starting a loop.Testing the function.Printing the values.End up a code.

Output:

Find below the attachment of the code output.

Find out more information about python here:

https://brainly.com/question/26497128

PLZ HELP I WILL GIVE BRAINLYEST

Answers

system and application

Answer:

software program and application software

in that order

These operating systems were referred to as command-based.

Android and MS-DOS
iOS and Windows
LINUX and UNIX
MS-DOS and UNIX

Answers

[tex]{\underline{\boxed{\bf{MS - DOS \: and \: UNIX}}}}[/tex]

It is Linux and Unix!

Describe how reflection can be used to achieve team improvement.

Answers

Answer:

Explanation:

Research also proves that encouraging your team to adopt a reflective process is likely to improve job performance, especially when reflection is coupled with an examination of the strategies .

Ctrl+Home moves the cell pointer to the cell__________MSExcel.​

Answers

Answer:

key stroke

Explanation:

Ctrl+Home moves the cell pointer to the cell___key stroke_______MSExcel.

The answer will be

[tex]key \: \: \: \: stroke[/tex]

Hope it helps.

ray4918 here to help

What is one still image in a film or video called?
unit
frame
stand
selection

Answers

Answer:

frame

Explanation:

the answer is frame ;)

Answer:

Frame

A still frame is a single static image taken from a film or video, which are kinetic (moving) images. Still frames are also called freeze frame, video prompt, preview or misleadingly thumbnail, keyframe, poster frame, or screen shot/grab/capture/dump

Explanation:

Pls mark as brainliest

Other Questions
All of the following are steps your group should follow to be effective, except: a. Identify and define the problem. b. Analyze the problem. c. Discuss one solution. d. Take action. Please select the best answer from the choices provided A B C D -3b+7b+5= -19I believe the answer is -6 Solve the equation. 6x+7=8x15 Write the equation of the line that passes through the points (-3, -3) and (8,7).Put your answer in fully reduced point-slope form, unless it is a vertical or horizontalline. How does the discussion of phantom sounds and visual halluinations help us understand why the brain creates these sensations in ghost in your head Two students solve the equation 4 (0 - 1) + 3. = 6 - 2 + 6. i need help with this What is similar about the signs for "husband" and "wife"? What territory was gained by Britain following the french and Indian war? Check all that apply. Given what you know about productivity, how would we expect investment in capital goods (like factories and technology) to affect gross domestic product? O It would raise GDP. It would lower GDP. It would have no effect on GDP. There is no way to know how it would affect GDP. What is the difference between a fillet weld and a groove weld? what is the main cause of temperature changes in the atmosphere Who is the narrator of "The Cask of Amontillado"? - Edgar Allan Poe - Amontillado Montresor - Fortunato Paraphrase the sentence; it was possible, I reflected, that a mere different arrangement of theparticulars of the scene, of the details of the picture, would be sufficient to modify, or perhaps to annihilate its capacity for sorrowfulimpression; and, acting upon this idea, I reined my horse to the precipitous brink of a black and lurid tarn4 that lay in unruffled luster by the dwelling, and gazed downbut with a shudder even more thrilling than beforeupon the remodeled and inverted images of the gray sedge, and the ghastly tree stems, and the vacant and eyelike windows. A skier accelerates to a speed of 56 m/s over a distance of 151 m. Determine the acceleration (assume uniform) of the skier.Show your work for acceleration. Include Units 2.57 mi/hr= how many m/min? Simplify your answer, round to the nearest tenth. Thanks. Write a quadratic equation in STANDARD FORM given the roots:1, 1/2 Someone help me please Find the value of x. Angle Q measures 30 degrees. If angle Q is rotated 15 degrees, what is the measure of angle Q?