You want the output to be left justified in a field that is nine characters wide. What format string do you need?

print('{: __ __ }' .format(23)

Answers

Answer 1

Answer:

> and 8

Explanation:

Answer 2

> and 8 format string one will need in this particular input of the java string.

What is a format string?

The Format String is the contention of the Format Function and is an ASCII Z string that contains text and configuration boundaries, as printf. The parameter as %x %s characterizes the sort of transformation of the format function.

Python String design() is a capability used to supplant, substitute, or convert the string with placeholders with legitimate qualities in the last string. It is an inherent capability of the Python string class, which returns the designed string as a result.

The '8' specifies the field width of the input The Format String is the contention of the Configuration Capability and is an ASCII Z string that contains the text.

Learn more about format string, here:

https://brainly.com/question/28989849

#SPJ3


Related Questions

Select the correct answer.
Nancy wants to buy a cooking stove that’s electrically insulated and resistant to heat. What material should she choose for the cooktop?
A.
composite
B.
polymer
C.
metal
D.
ceramic
E.
semiconductor

Answers

Answer:

E I think is the best answer

Given the following class, public class Magazine { private static double SUBSCRIPTION_DISCOUNT = .60; private String title;
private String publisher;
private double newsstandPrice;
public Magazine(String theTitle, String thePublisher, double theNewsPrice) {
title = theTitle;
publisher = thePublisher;
newsstandPrice = theNewsPrice;
}
public String getTitle() {
return title;
}
public String getPublisher() {
return publisher;
}
public double getNewsstandPrice() {
return newsstandPrice;
}
public double getSubscriptionPrice() {
// implementation not shown
public void setNewsstandPrice(double newPrice) {
newsstandPrice = newPrice;
}
}
Which of the following methods is an accessor method?
I. getTitle
II. getPublisher
III. setNewsstandPrice

I only
I and II only
II only
I and III only
III only

Answers

Answer:

The answer is "III only"

Explanation:

An accessor method is also an instance function that receives or establishes the value of an object's properties. This method is called methods through obtaining information about an entity. This method reverses it to process, which has two accessory string techniques to reach source string data reference length Accessor method.

Which expression is equivalent to 3x + 3x + 3x?

From Performance Matters

Answers

9x because you can add 3x+3x+3x because they are the same and can be added
Answer:
The answer is 9x


Binary digits can represent the state of an electrical charge. How
many different states of an electrical charge can binary digits
represent?

Answers

On and off can be represented.

7.5 Code practice Plz answer ASAP

Answers

def calculate_GPA(grade, weight):

   grades = {"A": 4, "B": 3, "C": 2, "D": 1, "F": 0}

   if weight == 0:

       return grades[grade]

   else:

       return grades[grade] + 1

classes = int(input("How many Classes are you taking? "))

total = 0

for x in range(classes):

   letter = input("Enter your Letter Grade: ")

   user_weight = int(input("Is it weighted? (1 = yes) "))

   grade = calculate_GPA(letter, user_weight)

   total += grade

   print("Your GPA score is: ", grade)

print("Your weighted GPA is a",(total/classes))

I wrote my code in python 3.8. I was able to replicate the output in your picture exactly. If you need me to make any changes, I'll do my best.

The function is an illustration of for loops

For loops are used to perform repetitive operations; just like the while loop

The program in Python, where comments are used to explain each line is as follows:

#This defines the studentGPA function

def studentGPA(grade, weight):

   #This initializes a dictionary for all grades

   allGrade = {"A": 4, "B": 3, "C": 2, "D": 1, "F": 0}

   #This sets the return grade to 0

   retValue = 0

   #If the grade is valid

   if grade in allGrade:

       #If the weight is 0

       if weight == 0:

           #Then score is not graded

           retValue = allGrade[grade]

       #If otherwise

       else:

           #This adds 1 to the return grade

           retValue = allGrade[grade]+1

   #This returns the grade point

   return retValue

#The main begins here    

#This gets the number of classes

klass = int(input("How many Classes are you taking? "))

#This initializes the total grade to 0

total = 0

#This following is repeated for each class

for x in range(klass):

   #This gets input for the letter grade

   letterGrade = input("Enter your Letter Grade: ")

   #This gets input for the weight

   weight = int(input("Is it weighted? (1 = yes) "))

   #This gets the corresponding grade

   grade = studentGPA(letterGrade, weight)

   #This prints the grade point

   print("Your GPA score is: ", grade)

   #This calculates the total grade

   total += grade

#This calculates the GPA

GPA = total/klass

#This prints the GPA

print("Your weighted GPA is a",GPA)

Read more about for loop at:

https://brainly.com/question/12736327

A ________ network has no central computer.

Answers

Answer:

Ring Networks

Explanation:

They do not have a central computer system controlling the operation of the entire network. Instead, the various computers in the network are arranged around a ring, and each computer may communicate with any other computer in the ring.

They lack a centralized computer system in charge of managing the entire network. Instead, the network's many computers are placed in a ring, and any one of them is free to speak with any other computer in the ring.

What role of ring network in central computer?

When a straightforward network is required, ring network topologies are used. They are appropriate for places that do not require particularly fast data transmission rates and where it is unlikely that the network's size or structure will change.

The data move in the shape of a ring from one node to the next. If computer A wants to transfer information to computer D, the information is first put in the packet.

Therefore, A tiny office with only a few nodes, for instance, might employ a ring network design.

Learn more about ring network here:

https://brainly.com/question/15837844

#SPJ2

_____ (without parity) means spreading the data among multiple (at least two) drives. Group of answer choices Parity

Answers

Answer:

"Disk Striping" would be the right choice.

Explanation:

Disk stripping has become a methodology where certain numerous small external drives consist of a single massive disk. This same classification turns huge information into single blocks but instead disperses them over numerous different storage media. Disk stripping retail outlets instead of every data unit through a single place and doesn't provide disk failure safeguards.

whats ur favorite video game​

Answers

Answer:

Minecraft has always been my favorite

Answer:

Far Cry 5. It has a great story line and it's lots of fun

Explanation:

I need an open response pleaseeeeeee

The format is "Describe‌ ‌the‌ ‌smart‌ ‌home‌ ‌devices‌ ‌impact‌ ‌of‌ ‌technology‌ ‌on education"

Answers

Answer:

Explanation:

Smart Home devices have had a large impact on education. It has allowed students of all ages to better understand the concept of interconnected devices and artificial intelligence. This alone has also opened up a new door of information by allowing for instant answers to question through such smart home devices as Alexa or Home. Which are artificial intelligence virtual assistants.

Which statement best describes what a project manager controls

Answers

Project controls are processes for gathering and analyzing project data to keep costs and schedules on track. The functions of project controls include initiating, planning, monitoring and controlling, communicating, and closing out project costs and schedule.

The delegation of responsibilities in a project is a project manager controls. Hence, option D is correct.

What is delegation of responsibilities?

Transferring accountability for particular tasks from one person to another is referred to as delegation. From a managerial standpoint, delegation happens when a manager gives their staff members particular tasks to do.

The manager can distribute authority, but responsibility and accountability cannot, according to the idea of absolute responsibility. Both the tasks that the manager has delegated to his subordinates and the actions of his subordinates fall under his purview of accountability to his own superior.

Effective delegation helps you and your team become better leaders and professionals, frees up time, gets you ready to manage bigger teams, and motivates team members to work harder. A crucial managerial skill to develop throughout your career is delegation.

Thus, option D is correct.

For more information about delegation of responsibilities, click here:

https://brainly.com/question/14875204

#SPJ5

The options were missing-

the overall choice of which work becomes a project

the overall deadline when a project is due

the overall resources allocated for a project

the delegation of responsibilities in a project

Skyler is ready to transfer his Webpage files from his computer to a Web server. Which of the
following is a set of rules that enables his large Webpage files to be exchanged between his
computer and the Web server?
O FTP
O SSH
O HTTP
O SSL

Answers

Answer:

FTP

Explanation:

FTP (File Transfer Protocol) is a protocol that allows the transfer of files across different machines.

what purpose would the auto fill feature be most helpful for?

Answers

Answer:

Completing the items in a series

Explanation:

Auto fill is a function found in software and applications that allows you to input a range of numbers or characters in a specific range and finish the entry you began typing with the program.

AutoFill effectively helps you to build tablets more efficiently, allowing you to fill cells with a set of data quickly, It allows you to create whole columns or rows of data that are centered on other cells' values. Autofill is used in all the rows to fill out a specific feature.

The success criteria are used to judge whether a project is successful. False True
need it now

Answers

Answer:

True True True True

Answer:

true

Explanation:

var words = ["apple", "bug","car", "dream", "ear", "food"]
var filteredWords = [];
for(var i = 0; i < words.length; i++){
var word = words[i];
if (word. Length < 4){
appendItem(filteredWords, word)
}
}
console.log(filteredWords);
If the program above is run, what will be displayed in the console?
O A. [apple, dream]
B. [bug, car, ear]
O C. [bug, car, ear, food]
O D. [apple, dream, food]

Answers

Answer:

B

Explanation:

I haven't taken cs principles, but i have taken cs a

is that python?

bug, car, ear are the only words less than 4 characters in legnth

If the program above is run, [bug, car, ear] will display in the console. The correct option is B.

What is a program?

A computer program is a set of instructions written in a programming language that a computer can execute. The software contains computer programs as well as documentation and other intangible components.

When you use a computer program, you are utilizing a program. When you program a computer, you are instructing it to perform a specific task.

To run a program, and to see if a program is running, you may open the Task Manager by pressing the Ctrl + Alt + Del keyboard shortcut keys, then selecting Task Manager. You may also pick Task Manager by right-clicking on the Windows Taskbar.

Therefore, the correct option is B. [bug, car, ear].

To learn more about the program, refer to the link:

https://brainly.com/question/3397678

#SPJ5

which of the following statements most accurately describes the difference between aptitudes and skills​

Answers

Explanation

Aptitudes are ability, and skills are the potential. Aptitudes can be learned or trained, unlike skills. Aptitude is the level of skill that a person has gained.

Answer:

D

Explanation:

Peer collaboration helps develop critical-thinking skills, which is the ability to

focus on multiple subjects at once.
criticize the thoughts of others.
examine a subject more closely.
focus on a single opinion or perspective.

Answers

Answer:

its c

Explanation:

after a few googel searches this is the answer

Answer:examine a subject more closely.

Explanation:

i just finshed the test

what type of waves are used on a tv remote control?

Answers

Answer:

(IR) Light

Explanation:

The signal of the remote control, control the pules of the infrared light. But human eye cant see, but can see through a digital camera.

A career in culinary arts can best be described as working in the __________ industry.
A.
food
B.
clothing
C.
computer
D.
entertainment

Answers

Answer:

A-Food

Explanation:

The answer would be A:Food

. Which of the following are container elements?

a. bold b. underline c. italics d. all of these

Answers

It’s c cba to explain

Answer:

I think letter b. underline, but not sure

Robert's got a quick hand
He'll look around the room he won't tell you his plan
He's got a rolled cigarette
Hanging out his mouth, he's a cowboy kid
Yeah, he found a six shooter gun
In his dad's closet, in a box of fun things
And I don't even know what
But he's coming for you, yeah, he's coming for you
All the other kids with the pumped up kicks
You better run, better run, outrun my gun
All the other kids with the pumped up kicks
You better run, better run faster than my bullet
All the other kids with the pumped up kicks
You better run, better run, outrun my gun
All the other kids with the pumped up kicks
You better run, better run faster than my bullet
Daddy works a long day
He's coming home late, yeah, he's coming home late
And he's bringing me a surprise
Cause dinner's in the kitchen and it's packed in ice
I've waited for a long time
Yeah, the slight of my hand is now a quick pull trigger
I reason with my cigarette
Then say your hair's on fire
You must have lost your wits, yeah
All the other kids with the pumped up kicks
You better run, better run, outrun my gun
All the other kids with the pumped up kicks
You better run, better run faster than my bullet
All the other kids with the pumped up kicks
You better run, better run, outrun my gun
All the other kids with the pumped up kicks
You better run, better run faster than my bullet
All the other kids with the pumped up kicks
You better run, better run, outrun my gun
All the other kids with the pumped up kicks
You better run, better run faster than my bullet
All the other kids with the pumped up kicks
You better run, better run, outrun my gun
All the other kids with the pumped up kicks
You better run, better run faster than my bullet
All the other kids with the pumped up kicks
You better run, better run, outrun my gun
All the other kids with the pumped up kicks
You better run, better run faster than my bullet

Answers

verry
good
song
love
it
ALL THE OTHER KIDS WITH THE PUMPED UP KICKS YOU BETTER RUN BETTER RUN ! FASTER THAN MY GUN !

Which explanation best describes the importance of continuing education?

1.Continuing education is important to maintain certification and keep up with new advances in the field.
2.Continuing education can be very costly and opportunities are difficult to find.
3.Only physicians and nurses are required to have continuing education.
4.Continuing education is not required, but it is a good way to learn more in your field.

Answers

Answer:

1.Continuing education is important to maintain certification and keep up with new advances in the field.

Explanation:

Continuing education is any additional formal learning that is not focused on a  college degree outcome.

Continuing education helps one to acquire more knowledge and to be relevant in one's field.

So, continuing education is important to maintain certification and keep up with new advances in the field.

What surprised you the most about computer science ?

Answers

Answer:

Computer science is the study of algorithmic processes

Explanation:

:) its interesting

Answer:

don't know

I am not sure what you mean

Explanation:

I REALLY Need help on this.

Answers

Make a deposit talk to A representative transfer money and Check account balance

A line graph titled Unemployment Percentages and Levels of Education where the x-axis shows dates from November 2007 to November 2010 and the y-axis shows the percentage unemployed. No High School diploma starts at 7.5 percent in November 2007, rises steadily to 15 percent in November 2009, and stays at 15 percent to November 2010. High School diploma starts at 4.8 percent, rises steadily to 10.5 percent in November 2009, and falls to 9.5 percent in November 2010. Some college starts at 4 percent in November 2007, rises to 9 percent in November 2009, and falls to 8 percent in November 2010. Bachelor's degree or higher starts at 2 percent, rises to 5 percent in November 2009, and slowly falls to 4.9 percent in November 2010.

Based on the above graph, what was the percentage of difference between someone without a high school diploma and someone who has completed some college in November 2009?

A.

4%

B.

5%

C.

7%

D.

10%

can yall please answer my question pls

Answers

Answer:

D

Explanation:

the answer is D because

Answer:

It's B

Explanation:

IM SORRY IF ITS WRONG

What are the three primary components of an inbox?
O the Task List, the Calendar, and the Status bar
O the Task List, the Calendar, and the Reading Pane
o the message header, the Folder Pane, and the Reading Pane
O the message header, the Status bar, and the Reading Pane

Answers

The three primary components of an inbox are the message header, the Folder Pane, and the Reading Pane. Hence option c is correct.

What is inbox?

Inbox is defined as a location in an email client or online email account where email messages are received. You may view and manage received emails in your inbox. The sender's name, the message's subject, and the date it was received are provided with each email. You can find the Inbox in the Message List. Opening in the Reading Pane are emails. You have more options for organizing emails with the ribbon.

A computer or smartphone's inbox is a folder where new emails are saved. An email program's inbox is a repository where incoming messages are stored. Email applications may provide several inboxes into which new communications are filtered after being examined for content

Thus, the three primary components of an inbox are the message header, the Folder Pane, and the Reading Pane. Hence option c is correct.

To learn more about inbox, refer to the link below:

https://brainly.com/question/208303

#SPJ2

Learning how to use word processing and spreadsheets, and creating presentations are all considered __________ computer skills.
A.
basic
B.
advanced
C.
optional
D.
unnecessary

Answers

Answer: a i hope it help

Explanation:

Answer:

A basic

Explanation:

<33

anybody remember that football game that everyone used to play during school

Answers

Answer:

Like an actual video game or the one where you would play during recess then get in trouble when someone got hurt

Explanation:

1. While cell phones provide Freedom and mobility,they can also become a leash, compelling user's to answer them anywhere and anytime​

Answers

Cellular phones have had a major impact on our lives and the way that we perform every day tasks. Many of these changes are apparent, while others we may not even be aware of.

Cell phones have brought a whole new meaning to the term multitasking. Twenty years ago, it was not possible to talk to the office while you were at the grocery store picking up some necessary items. You could never have had a three-way business conference while you were fixing dinner or been able to deal with a business client from home while caring for a sick child.

what are the peripherals of a computer ​

Answers

Answer:

A computer peripheral is any external device that provides input and output for the computer.

How do you describe packet switching in your own words

Answers

Answer:

this is your answer bhaiya

Other Questions
hi...need help....thank you.. Dubai is challenged by all of the following environmental factors exceptABC.D. a lack of valuable natural resourcesa warm and dry climatea lack of annual rainfallscarce freshwater resourcesPlease select thebest answer from the choices provided.AOBCOD Lisa is buying a computer for $1,500. The sales tax rate is 8.5%. Which expression should be used to calculate t, the total cost for the computer including tax? Find all solutions in the interval [0, 2pi). tanx+ secx =1a) x=pi/4b) x=0c) x=5pi/4d) no solution In doubles, one serves every _________ game with the serve alternating between opponents between each game?Group of answer choicesfifthfirstfourthsecond please help 50 points Alicia rented bowling shoes for $3 and played 4 games at $2 each. Write andevaluate an expression for the total cost of bowling. hi waht is mm in algebra maths A cable company charges 150 to install equipment. Then there is a $50 charge each month. Write an equation to express this relationship Pls help me Im about to cry. More than one image So there we were, Father, Mother and I, walking in the pouring rain, each of us with a schoolbag and a shopping bag filled to the brim with the most varied assortment of items. The people on their way to work at that early hour gave us sympathetic looks; you could tell by their faces that they were sorry they couldn't offer us some kind of transportation; the conspicuous yellow star spoke for itself.What is the mood of this excerpt?gloomypanickedangryindifferent pleaseee answer right ill give brainliest which expressions are equivalent to 3 (3P+3 - 3P-5) ? choose ALL that apply.a. p - 2b. p - 6c. 3(1/3p-2)d. 3(p-2)e. 3(1/3p+3-5)f. 3(1/3p-8) Do anyone why blood is red? Vicky can make 8 bracelets in 2 days. How many bracelets can she make in September (I will give a Brainliest) Can liquid water and steam exist at 100C? The base of 40-foot ladder is 8 feet from the wall. How high is the ladder on the wall (round to the nearest foot) A moving company offers two price plans, The first plan charges a flat rate of $39.95 plus $0.12 per mile driven, The second plans charges a flat rate of $19.95 plus $0.28 per mile drivenHow many miles must the truck be driven for the two plans to cost the same? Brainliest will be awarded PLEASE HELP! BRAINLIEST! POINTS!Which verb or verb phrase signals an inappropriate shift in mood?I think Daniel SHOULD BECOME a plumber. He WOULD BE ABLE TO OWN his own business. He might even hire others to work for him someday. As a plumber, he could make a lot of money. He COULD HELP OUT his friends and family with plumbing problems. WILL YOU GIVE us a discount on plumbing work, Daniel?A. would be able to ownB. could help outC. should becomeD. Will you give Which of the following is a solution to this inquality