What will you see on the next line?
>>> aList = [9, 2, 3.5, 7]
>>> aList.sort()
>>> aList

An error statement since you tried to sort a list with both int and float numbers.
[9, 2, 3.5, 7]
[2, 3.5, 7, 9]

Answers

Answer 1

Answer:

c [2, 3.5, 7, 9]

Explanation:

Answer 2

Given the following code:

>>> aList = [9, 2, 3.5, 7]

>>> aList.sort()

>>> aList, the thing that would be seen on the next line is c [2, 3.5, 7, 9]

What is an Array?

This refers to the collection of data that are similar to each other and can be easily identified by an array index.

Hence, we can see that from the simple array given, there is an unordered list and with the command, "aList.sort()", this arranges the unordered list into one that is ordered and this would provide [2, 3.5, 7, 9] which is in ascending order.

Read more about arrays here:
https://brainly.com/question/24275089

#SPJ2


Related Questions

Please Help Me
If you had an acer chrombook and it was family linked you had two accounts on it. (The administrater which is the family linked account and a school account) and you forgot the original password to the account how do you completely reboot the computer and start all over again.Like completely reboot like its new.

Answers

Answer:

Sign out of your Chromebook.

Press and hold Ctrl + Alt + Shift + r.

Select Restart.

In the box that appears, select Powerwash. Continue.

Follow the steps that appear and sign in with your Google Account. ...

Once you've reset your Chromebook:

Explanation:

Hope this helps. :)

White lines
A.separate traffic lanes moving in opposite directions
B.separate traffic moving in the same direction
C.indicate a handicap parking space
the
D.indicate temporary parking

Answers

Answer:

Its B                                                                                                                                            

Explanation:

Answer: B

Explanation:

why do many experts recommand longer time horizonal if you are doing high risk investment

Answers

Answer:In general, the longer your time horizon, the better you can handle fluctuations in value and take more risk in order to reap greater rewards.

Explanation:

What are the requirements to access email on the web?

A. a webmail provider's URL and a password
B. a webmail provider's URL a username and a password
C. a credit or debit card, a username, and a password
D. an email server ID and a password

Answers

Answer:

it's B

Explanation:

You need to have a provider (such as outlook) and a username/password

It’s either A or D u Choose now

DO NOW
1. What are the 4 things that make a computer a
computer?

Answers

Answer:

CPU, GPU, Hard drive, Video Card

Explanation:

Question #3
Multiple Select
Which statements are true about a user-defined data type? Select 3 options.
It can only include one data type.
I
It can include bool data.
It cannot be changed once you define it.
It can include string data.
O It can include numeric data,

Answers

An attribute of a piece of data known as a “data type” instructs a computer system how to interpret that data's value.

What are the different type data type and their uses?

Data is categorized into different types by a data type, which informs the compiler or interpreter of the programmer's intended usage of the data.

Most computer languages provide a variety of data types, including integer, real, character or string, and Boolean.

The operations that can be performed to create, alter, and use the variable in another calculation without running the risk are specified by the data type.

Knowing the various types of data makes it easier to make sure that the values of each property are as expected and that the data is gathered in the right format.

A programming language is said to be strongly typed if it only permits operations on variables that respect their data type.

Therefore, It can include string data, bool data, numeric data.

Learn more about data type here:

https://brainly.com/question/14581918

#SPJ2

Answer:

A D E

Explanation:

Write three statements to print the first three elements of vector runTimes. Follow each with a newline. Ex: If runTimes = {800, 775, 790, 805, 808}, print:

Answers

Answer:

Following are the code to this question:

#include <stdio.h>//defining header file

int main()//defining main method

{

   int runTimes[] = {800, 775, 790, 805, 808};//defining array of integers

   for(int k=0;k<3;k++)//defining for loop for print value

   {

       printf("%d\n",runTimes[k]);//print value with a new line

   }

   return 0;

}

Output:

800

775

790

Explanation:

In the above-given C language code, an array "runTimes" is defined, which holds the number of integer values.

In the next step, a for loop is defined, which uses the "k" variable, which starts from 0 and ends when its value is less than 3.

In the for loop, it uses the print method with "\n", that prints the array value in the new line.

There are many apps that help find you cheaper gas. If the cost of a gallon of regular gas is $3 at one station and $3.50 at another gas station and your car takes 12 gallons to fill up your car. How much extra are you spending at the more expensive gas station? $5 $6 $7 $8

Answers

Answer:

$7

Explanation:

alexa is scanning a photograph whitch mode should she use A green tone B blue tone C greyscale D sepia ​

Answers

Answer:

grey scale......................

Answer:

C. Greyscale

Explanation:

Got it right on Edmentum!

is spin to win paying or is a scam app​

Answers

Answer:

scam bro.

Explanation:

Answer:

yes it's a scam app when I tried it and after a few days it hasn't been delivered to my house though

n the diagram below, why is var typed first in front of pizza?

Answers

Answer:

var is used to initialize the pizza variable

Explanation:

In order to create a variable, you first have to intiialize he variable.

This is the syntax to intiailize the variable:

var variableName

Thus, to initialize the pizza variable, you would do:

var pizza

Once you initialize the variable, you can then assign values to the variable.

pizza <- 3

Here, the value 3 is assigned to the pizza variable.  

Question # 4
Dropdown
Choose the correct term to complete the defintion of your user-defined data type.
v player
life = 3
magic = False
name =

Answers

Answer:

class

Explanation:

edg2020

Answer: class

Explanation: got it right on edgen

PLS WILL GIVE BRAINLEST What eventually led to the abandonment of Jamestown?

malaria-carrying mosquitoes
a civil war
riots started by slaves
famine

Answers

Answer:

famine is the answer I believe

Answer:

D. Famine

Explanation:

Sir Thomas Gates, the newly named governor, found Jamestown in shambles with the palisades of the fort torn down, gates off their hinges, and food stores running low. The decision was made to abandon the settlement.

being a media and information literate indibidual is important especially during this modern time.give atleast three example situations that show its importance in your daily life​

Answers

Answer:

I REQUIRE POINTS CAUSE I NEED ASWERS FOR M HOMEWORK

Explanation:

7.4 Code Practice: Question 2
Adjust the code you wrote for the last problem to allow for weighted classes. Add a parameter weighted ( 1 = yes, 0 = no) and then return the correct number for the GPA. Weighted classes get one extra point on the GPA value.

I could really use some help on this and 7.5 (I’ll ask that question for 7.5 later)

Answers

def GPAcalc(grade, weighted):

   grade = grade.lower()

   dictionary = {"a": 4, "b": 3, "c": 2, "d": 1, "f": 0}

   if weighted == 1 and grade in dictionary:

       return "Your GPA score is: "+str(dictionary[grade] + 1)

   elif weighted == 0 and grade in dictionary:

       return "Your GPA score is : "+str(dictionary[grade])

   else:

       return "Invalid"

print(GPAcalc(input("Input a letter grade: "), int(input("Is it weigthed? (1= yes, 0= no)"))))

I modified the code a bit to cut down on the use of if and elif statements. If you need me to change it, I will. Best of luck.

The program is an illustration of conditional statements.

Conditional statements are statements whose execution is dependent on its truth value.

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

#This initializes the dictionary

dict = {"a": 4, "b": 3, "c": 2, "d": 1, "f": 0}

#This gets input for grade

grade = input().lower()

#This gets input for the weighted average

weighted = int(input())

#If the weighted average is 1, and the grade is in the dictionary

if weighted == 1 and grade in dictionary:

   #This prints the GPA score

   print("Your GPA score is: "+str(dict[grade] + 1))

#If the weighted average is 0, and the grade is in the dictionary

elif weighted == 0 and grade in dictionary:

   #This prints the GPA score

   print("Your GPA score is : "+str(dict[grade]))

#Otherwise

else:

   #The grade is invalid

   print("Invalid")

Read more about similar programs at:

https://brainly.com/question/19241597

. While ________is the protocol used to view web pages, browsers also support protocols for functions such as transferring large files.

A)HTML
B)HTTP
C)FTP

Answers

Answer:

HTTP

Explanation:

Answer:

B) HTTP

Explanation:

This is hypertext transfer protocol.

Which one of the following statement is untrue

Answers

Answer:

B IS FALSE

Explanation:

they are input devices

______________ is a pre-designed format to help users with the creation of a document, like a flyer, brochures, or resumes. What's the answer for the blank?

A.PowerPoint
B.Excel
C.Template
D.Pie Chart

Answers

The answer should be Template

CA U ANSWER IN 5min. well lets find out ANSWER HERE. :)

Answers

Answer:

Both are True

I hope this helps!

Answer:

Explanation:

12 is 1

and 13 is false but i aint so sure

Julie is purchasing new shoes on a website for her favorite store. Which of the following would indicate that a website is a secure site? http https www wwws

Answers

Answer:

https

Explanation:

looking at one right now tryna get me some shoes

Answer:

https

Explanation:

Which of the following represents a backup system that will aid in recovery for any type of disaster or disruption?

Transfer operations
Integrity operations
Redundancy operations
Independent operations

Answers

Answer: redundancy operations

Explanation:

python 3.4 code practice question 2

“Write a program to convert a fraction to a decimal. Have your program ask for the numerator first, then the denominator. Make sure to check if the denominator is zero. If it is, print out “Error - cannot divide by zero.”

Answers

numerator = int(input("Enter a number: "))

denominator = int(input("Enter a number: "))

if denominator != 0:

   print(numerator/denominator)

else:

   print("Error - cannot divide by zero.")

The fraction can only be described as "undefined" if the denominator is ever 0.

Explain about the denominator is zero?

The mathematical error (not specified) of dividing a number by zero can be graciously overcame by using exception handling. The output of division by zero will be displayed as infinity if you write code without employing exception handling, which cannot be further processed.

A fraction cannot have zero as the denominator since zero cannot be divided by anything. The reason is that you get back 6 when you multiply the answer, 2, by the divisor, 3. Because the denominator cannot be zero, the fraction is invalid and has no value.

"Enter a number: " input = int numerator

Denominator: int ("Enter a number: "); input;

if the numerator!= 0

print(numerator/denominator)

else:

print("Error - cannot divide by zero")

("Error - cannot divide by zero.")

To learn more about denominator is zero refer to:

https://brainly.com/question/17546250

#SPJ2

Assume that your body mass index (BMI) program calculated a BMI of 20.6. What would be the value of category after this portion of the program was executed?

# Determine the weight category.
if BMI 39.9:
category = "morbidly obese"
elif BMI <= 24.9:
category = "normal"
elif BMI <= 39.9:
category = "overweight"
The value of category will be (normal/overweight/.underweight/morbidly obese)

Answers

Answer:

normal is the answer

Answer:

normal

Explanation:

I need help with this question!

Answers

Answer:

5 and 10

Explanation:

Given

The above code segment

Required

Determine the outputs

Analysing the code segment line by line

[This initialises c to 0]

c = 0

[The following iteration is repeated as long as c is less than 10]

while (c < 10):

[This increments c by 5]. Recall that c is initially 0. Hence, c becomes 0 + 5 = 5

c = c + 5

[This prints the value of c which is 5]

print(c)

The iteration is then repeated because the condition is still true i.e. 5 is less than 10

c = c + 5 = 5 + 5 = 10

[This prints the value of c which is 10]

print(c)

The iteration won't be repeated because the condition is now false i.e. 10 is not less than 10.

Hence, the output is 5 and 10.

If your computer will not turn on, what is something you would do to diagnose the problem?

A)Check if the monitor is plugged in
B)Push the power button
C)See if it is plugged in
D)Turn on the printer

Answers

A or C

Hope this helps!

Take a minute to reflect on your thoughts and learning so far and discuss:

1- the skills you may need to have a career in media arts.

In paragraph form, identify and discuss at least 3 essential skills you need for a career in media arts and why they are important.

2- how the techniques used in different media artworks may reflect varying messages and points of view.

In paragraph form, state a company or product and describe 2 advertising techniques that will be beneficial to advertise it. One of your techniques should address the best type/form to advertise it and why you think it is the best.

Answers

Answer:

To be completely honest, this is a question that you and only you can answer really. You were the one that took the class and we cant reflect on your thoughts for you. I'm not trying to be one of those people, but its the truth.

Explanation:

what are the important reason to practice Opreational Health and Safety procedure?

Answers

To prevent injury

to protect the environment

its the law you can get fined a lot of dollars

Hope you get the question right :)

How do you move a slide to another location in you your
presentation?

Answers

Answer: Literally click on it and hold, then just drag it to wherever you want it

Explanation: Hope this helped you

yoooooo guys what up

can yall help
In three to five sentences, compare and contrast paraphrasing and summarizing.
will mark brainlist

Answers

Answer:

To put simply, paraphrasing refers to the conversion of the original or the concerned source material into the own or personal words of the reader or the interpreter. In contrast, summarizing mainly refers to the conversion of the main idea/concept/s or content of any original text or source material into the writer's or interpreter's own words.

Explanation:

Paraphrasing commonly engages putting any original text of any source material into the own words of the reader or the interpreter of the material.On the other hand,summarizing mainly involves converting the central idea/s or the content/s of the source material into the own words of the reader or interpreter of the source material.

Paraphrasing involves selection of any specific broader section or part of the source material and its conversion into a shorter version in terms of the own words of the reader or the interpreter,whereas,summarizing construes selection of the overall of main idea/s or content of the source material and putting it into a condensed form,expressed in the own words of the reader or interpreter.

Where can you find thousands of templates for Excel?
O Home tab
Page Layout tab
Backstage View
O
Insert

Answers

Answer: The answer is C. backstage view

Explanation: JUST ANWERED

Answer:

c backstage

Explanation:

Other Questions
when sea ice forms in the ocean the salinity of the surrounding ocean water A man weighing 490 N on earth weighs only 81.7 N on the moon. His mass on the moon is ____ kg. (Use g=9.8 m/s) Why did they remove my question? It did not give me a reason, just a link to their Guidelines Website. When a question I'm following gets removed, it gives a reason. Why not give me a reason for my OWN QUESTION?! I would also LOVE to know why the report flag on my question is red, only for it to get removed, only for me to break the same rule because I DONT KNOW WHICH RULE I BROKE. TL;DR: I'm mad >:L Q1. Mara is building a wind chime. She needs string in the following lengths: 6 piecesof 20 cm, 3 pieces of 30 cm, and 1 piece of 40 cm. How much string does she need? Express (x 3)2 as a trinomial in standard form. n the diagram below, why is var typed first in front of pizza? Evelyn is buying a motorcycle that costs $14,000. The tax rate is 6.75%, and she plans to make a down payment of $1,500. The sales tax isadded before the down payment is applied. She is considering a three-year loan How can government revenue be increased. select four options What is the main difference between protons and neutronsA protons have a much smaller mass than neutronsB protons have a much larger value than neutronsC protons have an electrical charge but neutrons have no charge D protons make up the nucleus but neutrons orbit around the nucleus What can an author's use of a distributed first-person narrator help create in a gothic story? Which statements about Shayss Rebellion are true?Choose exactly two answers that are correct.A. It led many citizens to believe that a stronger national governmentone that could be trusted to maintain law and orderhad to be established.B. It began because despite fighting a war to win their freedom, many Americans still owned slaves and did not wish to grant their slaves the same freedom that they enjoyed.C. It forced the early leaders of the United States to include an amendment to the Constitution that grants citizens the right to bear arms and defend themselves.D. It started because some state governments, including Massachusetts, taxed their citizens excessively in an attempt to raise funds to pay off large debts. Which of the following best states the authors overall purpose in this text Seven years ago, Goodwynn & Wolf Incorporated sold a 20-year bond issue with a 14% annual coupon rate and a 9% call premium. Today, G&W called the bonds. The bonds originally were sold at their face value of $1,000. Compute the realized rate of return for investors who purchased the bonds when they were issued and who surrender them today in exchange for the call price. Do you think words are used for positive or negative purposes Mohs scale is used to determine what property of minerals?O cleavageO lusterO hardnessO density Reservations in a restaurant can be prolonged for months.True or false Morgan has diabetes and must carefully monitor his food intake. He is learning the calorie count of the different macromolecules-carbohydrates,proteins, and fats-so that he can make choices to keep his blood sugar in the proper range. He notices that the word calorie is sometimes spelledwith a capital C. Which statements accurately describe calories and Calories? Select all of the answers that apply.A. A kilocalorie is equal to 1000 Calories.B. A Calorie is equal to 1000 calories.C. A calorie is equal to 1000 Calories.D. A Calorie is equal to a kilocalorie. joe pushes a box with force of 16 Newtons to the left. Ann pushes the same box from the opposite side with a force of 8 newtons to the right. What will be the result? Which is the correct flow of a computer system? The canal that was dug to rechannel water to the Everglades failed to improve the wetland habitat because _____.