PLEASE HURRY!!!

After the following code is executed, what value is stored in weight?

>>> answer = input("What do you weigh? ")
What do you weigh? 105.7
>>> weight = float(answer)
>>> weight = weight + 3
The value stored in weight is .

Answers

Answer 1

Answer:

108.7

Explanation:

When someone enters an answer, it's stored in the variable "answer" as a string. Then "weight" is set to the value of the string, converted to a floating-point number (meaning that it has a decimal value, instead of being an integer). At that point weight = 105.7, so when you add 3 to it you get 108.7.


Related Questions

What effect does SEO have on your search?

Answers

Answer:

check explaination

Explanation:

so in short SEO (search engine optimisation) has an effect on searching the internet in many ways.

Promoted websites that have paid to be put at the top of search engine results may entice you to go to them for answers but in reality do not hold the answers. View/interaction ratios can cause a website to be placed lower on the grading of websites that are shown, many times being placed many pages back on a google search content filtering, if a website contains 18+ or NSFW materials it may be removed / hidden from the top of search engines to prevent children and minors from seeing unwanted content.

Write a function that asks a user for his/her name and movie
watched. Then the function prints a greeting message.
A session should look like the following:
What is your name? Ahmed
Which movie have you seen? The Battle of Algiers
The printed message is: "Today, I learned that Ahmed watched
The Battle of Algiers movie!“ (Output)

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

                     

The code is written in C++

/******************************************************************************

                             Online C++ Compiler.

              Code, Compile, Run and Debug C++ program online.

Write your code in this editor and press "Run" button to compile and execute it.

*******************************************************************************/

#include <iostream>

#include <string>  

using namespace std;

void display()

   {

       string yourName;

       string watchedMovie;

       cout<<"What is your name?  ";

       cin>>yourName;

       cout<<"Which movie have you seen?  ";

       cin>>watchedMovie;

       cout<<"Today, I have learned that  " <<name<<" watched "<<watchedMovie<<" movie";

   }

int main()

{    

   

   display();

   return 0;

}

 

Bob flys a drone which has a 20 megapixel camera attached, what is the definition of "megapixel in this context? Why does it matter?

Answers

Answer:

megapixel refers to the unit of resolution i.e. one million

Explanation:

Interestingly the higher the pixels does not mean higher quality of image, it's more about the camera and it's sensor.

I am a photographer and a licensed drone pilot and have researched the subject to help with camera choice, both DSLR and drone.

How is technology a mode of revealing?​

Answers

Answer: First, the essence of technology is not something they make; it is a mode of being, or of revealing.

Explanation:  This means that technological things have their own novel kind of presence, endurance, and connections among parts and wholes. They have their own way of presenting themselves and the world in which they operate.

Why is it important to test a spreadsheet?

Answers

Answer:

The chief aim of regression testing is to check that the results have not been altered by changes to the spreadsheet, or, where they have altered, to investigate the effects of the changes. It is important when adding new functionality to a spreadsheet, to make sure that the existing functionality is not affected.

Explanation:

10. What Windows feature prevents unauthorized system changes?
A. UAC
B. DVI
C. NFC
D. WPS

Answers

Answer:

wps

Explanation:

it is more safer to use

What is the fastest internet?

Answers

Answer:

Xfinity

Explanation:

An evaluation of the Best Internet Service Providers found Xfinity offers the fastest internet plan. Its fiber-based Gig Pro plan is the company's quickest, featuring equal download/upload speeds of 2,000 Mbps.

Is there truth? Does truth exists?

Answers

Answer:

Yes

Explanation:

Hes name is Jesus Christ. He died for me and you. and loves you very much!

Yes there is truth and it exsists

How would YOU define AI?

Answers

Answer:

If you meant by artificial intelligence then it’s the simulation of human intelligence processes by machines especially computer systems

Explanation:

Hello!

Answer:

An access list (AL) is a list of permissions used in physical and information technology (IT) security to control who is allowed contact with a corporate asset. The asset can be a building, a room or a computer file.

Wish you luck!

role of computers in everyday life​

Answers

Answer:

In modern word everything around us like GPS, ATM machines, cell phones, petrol pumps, portable play stations and all other modern devices use computer controlling units to conduct their featured operations. Surely computers have very elaborated role in daily day life of humans.

Explanation:

hope it helps thxs

Question 4: What will be the output of the code? Show a complete analysis.

#include
int main(void)
{
int A[3][3]={{1,4,3},{6,2,4},{-3,8,2}};
int s;
for(int i = 0; i<=2; i++)
{
S = ALOIi]+A[111]+A[21i];
printf("%d",s);
}
return 0;
}

Answers

Answer:

The output of the code is 8

what is the use of router ?​

Answers

Answer:

A router is a networking device that forwards data packets between computer networks. Routers perform the traffic directing functions on the Internet. Data sent through the internet, such as a web page or email, is in the form of data packets.

Explanation:

what would you call yourself if you were a shinobi

Answers

Answer:

someone really deleted my previous answer to this wow...

Explanation:

A collection of four bits and half bytes is.............. plzzz help​

Answers

Answer:

Nibble

Explanation:

In Microsoft PowerPoint, a _____ gives viewers a visual image of data, such as a line graph or a three-
dimensional bar graph, instead of just numbers listed in a table.

Answers

Answer:

chart

Explanation:

on edg

If images around the edges of a monitor do not look right, the computer might have a(n)

access problem.
hardware problem.
Internet problem.
software problem.

I will give brainiest to best answer

Answers

Answer:

it would be a software problem.

Explanation:

this is because when your computer crashes, the software all "explodes" and resets.

Hardware Problem

If a manufacturer damaged something, it can cause issues that the software can not interpret. For example the screen is damaged. The pixels could be damaged on the screen and most likely not the fault of a software.

Match each HTML tag to its function.





defines a new paragraph
defines a single line break
defines a heading style
defines a row in a table

Answers

Answer:

<p></p> is a new paragraph

<br> is a line break

h1: defines new heading style

<tr> defines new row in a table

A married man gets a new job in a company. After three months, he meets a younger woman in the finance department and they begin having an affair. The affair carries on openly in the workplace over the course of 6 months, then begins to sour when she discovers that he is already married. The relationship quickly changes to bickering and name-calling while at work. The woman eventually breaks off the relationship, quits her job, and sues the company for fostering a hostile work environment. Of the seven IT infrastructure domains, the USER domain was most at risk.

a. True
b. False

Answers

Answer:

False ( B )

Explanation:

Of  the seven IT  infrastructure domains The USER domain was not at risk because the User Domain is not task with handling the sharing of data or Mutual communication between users in a Typical IT infrastructure.

The domain charged with such responsibility is The LAN domain because the LAN domain is charged with the sharing of information between the USERS and maintaining good mutual communication, and since the relationship has become sour, the sharing of information between the users will suffer the most and it will be at a high risk

What common feature of well-made web apps helps them stand out from static email advertisements?

Answers

Answer:

For the test, I litterally came here while taking it and couldn’t find an answer, I got a horrible 70.. but all I know it’s not C or D

Explanation:

I took the test, sorry I don’t have an actual answer

What is the name of a coding sequence that is executed multiple times in a program?

Answers

Answer:

Loop, or Iterator

Explanation:

For example, a "for" loop or a "while" loop to create a block of code that will execute a certain number of times.

Answer:

C - a loop

Explanation:

on edge pls mark brainiest

PLEASE HURRY!!!!

What will be the output of the following program? Assume the user responds with a 5 for the first number and a 4 for the second number.

answerA = input("Enter a number. ")
answerB = input("Enter a second number. ")
numberA = int(answerA)
numberB = int(answerB)
result = numberA + numberB / 2
print ("The result is" , result)

A) The result is7.0
B) The result is 4.5
C) The result is4.5
D)The result is 7.0

Answers

Answer: The result is 7.0

Explanation:

see image

The output of the given following program is the result is 7.0. The correct option is A).

What is the output in programming?

Data can be transferred between the CPU and a peripheral, like a network adapter or an ATA storage device, using programmed input/output (PIO). The program's instructions start each data item transfer, involving the CPU in each transaction.

The communication between an information processing system, such as a computer, and the outside world, which may include a human or another information processing system, is known as input and output, or I/O. The system's inputs are the signals or data it receives, and its outputs are the signals or data it sends.

Therefore, the correct option is A) The result is 7.0 is the result of the given program.

To learn more about output in programming, refer to the link:

https://brainly.com/question/30141972

#SPJ2

PLEASE HURRY!!!!

Which statements will ask the user for a number? Select 2 options.
A) answer = in(“How many sodas do you want? “)
B) answer = in(How many sodas do you want? )
C) answer = input(How many sodas do you want? )
D) answer = input("How many sodas do you want? ")
E) answer = input('How many sodas do you want? ')

Answers

Options D and E are correct. The input function takes input from the user, which in this case is a number.

Answer:

answer = input('How many sodas do you want? ') and

answer = input("How many sodas do you want? ") is the correct answer. so in other words D and E are correct.

I took the quiz myself

Today, there are many computer categories. A(n) ________ is the category for the world's fastest computers. ________ computers are large, expensive devices capable of simultaneously processing data for thousands of users. Computers used by Google and Web service providers are classified as________. Personal computers come in several varieties. A(n)________ computer fits on a desk, runs on power from an electrical wall outlet, and can be housed in a horizontal case or vertical case. Three categories of portable computers include tablets, smartphones, and clam-shell style________ computers. Selecting a digital device requires consumers to select a platform based on form factor and operating system. MacOS is the operating system that runs on Apple laptops and ________ computers. The operating system for iPhones and iPads is ________ . The________ operating system from Microsoft runs on laptop and desktop PCs, whereas a derivative version is designed for tablets and phones. The open source community produces Linux for desktops and servers. This family of operating systems also includes Chrome OS, and________ , which is popular for tablets and smartphones.

Answers

Answer:

Supercomputer

Mainframe

Servers

Desktop

Laptop

Mac

iOS

Windows

Android

Explanation:

Speed is salient characteristic of supercomputers. The Mainframe computers are usually used by large companies and are very expensive with large processing capability. Servers enables thw possibility of establishing connections with service providers such as Google and other related companies. Desktop computers are those which aren't designed for portability or being easily carried around. The Laptops on the other hand are more compact and easily carried around. Mac are operating systems associated with Apple computers and iOS is the operating system used on iPhones and other Apple smart mobile devices. Windows is the me of the operating system used by Microsoft. Android is also a popular operating system used on smartphones.

who is the three president of somalia​

Answers

Answer:

Siad Baree,Aden Adde and Aden Madobe

The reason for prioritizing your work is to get the
a. Most important jobs done
b. Smallest jobs done
c. Quickest jobs done
d. Least important jobs done

Answers

Answer:

a

Explanation:

Answer:

a. Most important jobs done

Explanation:

9. Which of these is not a factor in password management?
A. Confidentiality
B.Expiration
C. Guest
D. Complexity

Answers

Answer:

I don't really know but I think it's guest

Global visibility is: Group of answer choices A visibility type where an object A has a semi-permanent reference to another object B through a class-level field. The visibility persists as long as both A and B exist. A visibility type where an object A receives a reference to an object B as an argument to a method of A. A visibility type where an object A has visibility to B via a singleton or other construct where B can be accessed in any context. The visibility persists as long as both A and B exist. A visibility type where an object A has a reference to an object B within a method of A as a newly declared variable.

Answers

Answer:

the visibility persists as long as both A and B exist.

Explanation:

Global visibility basically means that the visibility persists as long as both A and B exist. In programming global visibility signifies that the variable/data in question is visible from any context of the code. Meaning that it can be accessed and manipulated from any part of the code, even from within a function or another document. This makes it very easy to use and structure accordingly.

Write a program that reads a list of integers, and outputs whether the list contains all even numbers, odd numbers, or neither. The input begins with an integer indicating the number of integers that follow. Ex: If the input is: 5 2 4 6 8 10 the output is: all even Ex: If the input is: 5 1 3 5 7 9 the output is: all odd Ex: If the input is: 5 1 2 3 4 5 the output is: not even or odd Your program must define and call the following two functions. is_list_even() returns true if all integers in the list are even and false otherwise. is_list_odd() returns true if all integers in the list are odd and false otherwise. def is_list_even(my_list) def is_list_odd(my_list)

Answers

Answer:

def is_list_even(list):  

 return all((x % 2) == 0 for x in list)  

def is_list_odd(list):

 return all((x % 2) == 1 for x in list)  

numberList = []  

n = int(input("Enter number of elements : "))  

for i in range(0, n):  

 numberList.append(int(input()))

if is_list_even(numberList):

 print("all even")

elif is_list_odd(numberList):

 print("all odd")

else:

 print("not even or odd")

Diseconomies of scale are likely to result from which one of the followings?

Answers

In microeconomics, diseconomies of scale are the cost disadvantages that economic actors accrue due to an increase in organizational size or in output, resulting in production of goods and services at increased per-unit costs. The concept of diseconomies of scale is the opposite of economies of scale.

Which feature allows an Excel 2016 user to visualize data on a map by plotting geographic and temporal or time-related data on a globe or custom map? 3-D map grid graph time lapse real-time data

Answers

Answer:

3-D MAp

Explanation:

Answer:

3-D MAP they were correct

Explanation:

Other Questions
What is the Mexican culture? Answer Items:Which go with whichA. CryosphereB. GeosphereC. BiosphereD. HydrosphereE. Atmosphere1. Measuring lake levels2. Studying the polar ice shelf melting rate. 3. Monitoring air pollution is level at local schools4. Monitoring small tremors along A major fault line in California 5. Counting endangered amphibians in Belize 14 out of 50 equals what percent Please help me out with this Graph y=3/4x + 2 Click and drag like terms onto each other to simplify fully.2-5+7y-5x+7x-2y pls help i dont know how to do this help ts all in the screenshot Which sentence from the section "Beyond Our Galaxy" BEST supports the idea that space is mysterious?AOur Milky Way galaxy is part of a neighborhood of 54 other galaxies.BWithout gravity, Earth and everything else in our galaxy would fly off into space.CThey also thought the stars on the inner orbits should move more slowly because they have less distance to travel.DHowever, dark matter is invisible, and scientists cannot see it with regular telescopes. A jeweler made a new crown for the queen. It was made with an 8.74-carat diamond, a 7.086-carat ruby, and a 4.932-carat sapphire.What is the approximate total weight of the gems? From 2:15 pm to 5:15 pm, a car traveled 90 miles. How many miles did the car travel per hour? * _____ mi equipaje en la bscula para pesarlo. A.Vengo B.Pongo. C.Triago. D.Hago write an essay on trees try to use many senses to make the descriptions clear Marsha sold 2 cameras in January, 4 in February, 7 in march, and 11 in April. If the number sold increases at the same rate, how many cameras will she sell in December? Diego estimates that there will need to be 3 pizzas for every 7 kids at his party. Select all the statements that express this ratio.Select all that apply:a.The ratio of pizzas to kids is 3 to 7.b.For every 7 kids there need to be 3 pizzas.c.The ratio of kids to pizzas is 7:3.d.The ratio of kids to pizzas is 3:7.e.The ratio of pizzas to kids is 7 to 3. Thirteen is about what percent of 20 Scene Five 5. What are the causes of Ophelia's madness? 6. How does this scene bring out the contrast between Hamlet and Laertes? What is the main issue or focus of the Tea Party Movement? Financial aid letters from institutes of higher education show your yearly aid and costs for attending. This means that you will need to I. Circle the word with different sound in the underlined part in each line(1pt)1. A. celebrated B. liked C. washed D. stopped2. A. waste B. gravy C. parade D. later3. A. obey B. money C. key D. honey2. A. sugar B. scared C. say D. surprise on a number line where do 0.85 and 0.50 go