What is the value of the variable moneyDue after these lines of code are executed?

>>> numSodas = 2
>>> costSodas = 1.50
>>> moneyDue = numSodas * costSodas

Answers

Answer 1

Answer:

3.0

Explanation:

To understand why there is a blank decimal, we have to understand that when you add multiply or subtract with a float (in python), the result will also be a decimal, even you use a blank decimal in the equation. A circumstance where the output would just plain 3, you would have to put in the following:

>>>int(moneyDue)

To insure it will output an int. However, it does not use that line of code, thus proving the answer is 3.0.

hope this helped :D

Answer 2

Answer:

3.0

Explanation:

edge


Related Questions

can someone please explain binary addition to me? i have a test tomorrow yikes

Answers

Answer:

its easy

Explanation:

there are are 5 main rules

in binary there are 2 number 0 and 1

0 + 0 = 0

0 + 1 = 1

1+0=1

1+1=0 carry 1

e . g

1 1 1

1 0 1 0 1 0

+ 1 1 0 0 1 0

-------------------------

1 1 1 1 1 0 0

*in bold are the ones that you need to carry.

in decimal there are 10 possible numbers 0- 9

when you do 1 + 9 it becomes 10, this can be done easily, however if you do 1 + 9 in a table like above, you will get 0 for the first column and you will carry 1 to the next column .

in binary is the same idea but using on 2 numbers 1 and 0

e.g

1

1

+ 9

----------

1 0

*in bold are the ones that you need to carry.

hope it helps and good luck in your exam.

why is a computer called diligent machine ?​

Answers

Computer is called diligent machine because it can perform the task repeatedly without loosing its speed and accuracy for a long time.

which gallery will allow a user to access a variety of preconfigured formatting styles for images that are added to a PowerPoint presentation

Answers

Answer:

Picture Effects gallery.

Explanation:

PowerPoint application can be defined as a software application or program designed and developed by Microsoft, to avail users the ability to create various slides containing textual and multimedia informations that can be used during a presentation. Some of the features available on Microsoft PowerPoint are narrations, transition effects, custom slideshows, animation effects, formatting options etc.

To format an image on PowerPoint, you can either use the Artistic Effects or Picture Effects.

The Picture Effects gallery allows a user to access a variety of preconfigured formatting styles for images that are added to a PowerPoint presentation.

Basically, the Picture Effects consist of the following preconfigured formatting styles; transparent shadow, soft edge, reflection, glow, 3-D rotation, metal frame, bevels, perspectives etc.

Answer: Picture Styles gallery

Explanation: He is correct he just typed it wrong.

3. You'd prefer to read this email on a larger screen, so you open your laptop. Your laptop display is quite flat. What kind of screen do you think it is?

Answers

Answer:

.....

Explanation:

Answer:

plasma Screens

Explanation:

Used for very large screens and some laptops which display ones screen Flat.

_____moves the head to proper track

a.
Seek
b.
Data transfer
c.
Rotate
d.
Settle

Answers

to what it seems like the answer would be C
i believe the answer is C

User can fill numbers in a column by using _______ command, ________ is a built-in formula in Excel to do calculations, Entering data into a cell means to _______ data into a cell, The MIN function displays the ________ value in a given list of values

Answers

Answer:

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

Explanation:

This question is about fill-in-the-blank. The correct options in these fill-in-the-blanks are given below:

User can fill numbers in a column by using Down, Right, Up, Left, Series and Justify command

You can use these commands to fill numbers in columns. You can find these commands in the HOME tab under the Editing group of commands.

AutoSum is a built-in formula in Excel to do calculations

Autosum is a built-in formula that helps you to perform calculations, such as to calculate sum, average, and to find the minimum and maximum value. You can find the AutoSum command in the Home tab under the Editing group of commands.

Entering data into a cell means to put/insert data into a cell.

The MIN function displays the minimum value in a given list of values.

You use the MIN() function to display the minimum value in a given list of values or in the columns.

Match the type of multimedia artist to the description of the jobs they perform.

storyboard artist

background artist

special effects animator

multimedia designers

works with other animators to set

the scenes depicting the key

characters

arrowRight

works with various elements to

create content for web pages

arrowRight

creates key frames that depict

all the important scenes in the

story

arrowRight

provides visual enhancements

to make the action depicted

more interesting and appealing

Answers

Answer:

d or a

Explanation:

hope it helps

What affect did the Scopes trial have on the school curriculum in Tennessee?
It changed the curriculum to include creationism in science classes.
It did not change the curriculum because Bryan died shortly after the trial.
It changed the curriculum to include evolution in science classes.
It did not change the curriculum because Scopes lost the case.

Answers

D)It did not change the curriculum because Scopes lost the case.

The effect that Scopes trial had on the school curriculum in Tennessee is that

It did not change the curriculum because Scopes lost the case.

The Scopes trial

The scopes trial was a trial that involved a high school teacher called Scopes and the government of the United States.

This trial took place at the time where the US was subject to very serious Christian beliefs.

The reason for the trials was that Scopes had taught evolution in the classroom.

Read more on the Scopes trial here:

https://brainly.com/question/874883

Which MLA web source citations are formatted correctly? Check all that apply.
Wolfson, Elijah. “Newsweek Names a Mars Crater.” Newsweek. Newsweek, 28 Feb. 2014. Web. 1 Mar. 2014.
Herman, Barbara. “Where’s the Fire?” Newsweek. Newsweek, 24 Oct. 2013. Web. 25 Feb. 2014.
Niesen, Joan. “Learning to Cope: Disabled Vet Hunt Finds Freedom as Paralympic Skier.” Sports Illustrated. Web. 27 Feb. 2014.
A Mighty Girl. N.p., n.d. Web. 26 Feb. 2014.
Kloc, Joe. “Kepler Mission Finds Hundreds More Planets.” 2 Feb. 2014. Web. 25 Feb. 2014.

Answers

Answer:

Explanation:

A,B on exp.

The correct MLA web source citations are:

Wolfson, Elijah. “Newsweek Names a Mars Crater.” Newsweek. Newsweek, 28 Feb. 2014. Web. 1 Mar. 2014.

Others are:

Herman, Barbara. “Where’s the Fire?” Newsweek. Newsweek, 24 Oct. 2013. Web. 25 Feb. 2014.

What is MLA citation?

MLA in-text citation style is known to be a citation method that is often used in citing authors. Her one often uses the author's last name and the page number from where the work is taken from.

A good example of this  MLA web source citations is:

Wolfson, Elijah. “Newsweek Names a Mars Crater.” Newsweek. Newsweek, 28 Feb. 2014. Web. 1 Mar. 2014.

Learn more about MLA web source  from

https://brainly.com/question/26110488

#SPJ2

what is the main difference between a search bar and a web browser

Answers

Answer:

i think a search is search bar is looking for application and files that are in the system while web browser is for searching things that are not in ur pc or laptop but searching thing i a good example google

Which of the following is an example of a database?
A. the names and ages of children
B. the title of a book
C. a word that rhymes with bat
D. the name of the most recent U. S. president

Answers

A. The names and ages of children

Answer:

the names and ages of children

Where do high tides occur? (Select two.) WILLLL GIVVEEE BBRRAANNLLEESSTTTM PLSS AASSAAPP

only at the South Pole
on the side of Earth opposite the moon
on the side of the Earth facing the moon
only at the North Pole
at both the North and South Poles

Answers

Answer:

Maybe both?

Explanation:

High tides and low tides are caused by the Moon. The Moon's gravitational pull generates something called the tidal force. The tidal force causes Earth—and its water—to bulge out on the side closest to the Moon and the side farthest from the Moon. These bulges of water are high tides. (hope this helps)

Answer:

its the last one, it happens on the side of the earth facing the moon and also the opposite side

To what extent is cyberbullying experienced across the world?

Answers

Answer:

All around the world

Explanation:

Every were there’s tech.

how to beat level 50 in give up robot 2

Answers

Answer:

just follow the steps and and become tough calm but tough

Please I need 26 examples of hybrid search engines?

Answers

Answer:

Google, Bing, Yahoo, Yandex, Duck Duck Go!, Baidu, Ask, Naver, Alta Vista, Hotbot, AOL, AllTheWeb, Exite, Mahalo.

How many categories should Jane use to track multiple levels of information learned through a student survey on teachers at her school? a. One category per teacher c. As many categories as she needs to understand the results b. Only one teacher per category d. None of these Please select the best answer from the choices provided A B C D

Answers

Answer:

c. As many categories as she needs to understand the results

Explanation:

In order to do this, she should track as many categories as she needs to understand the results. This is because Jane might need to understand various aspects of different teacher's performance during school hours. To do so she would need many different categories that apply to all of the teachers. That way when she gathers the results she can see which teachers perform best in a specific category when compared to the others, thus giving Jane a better understanding of each teacher's overall performance.

Answer:

i think its c because, In order to do this, she should track as many categories as she needs to understand the results. This is because Jane might need to understand various aspects of different teacher's performance during school hours. To do so she would need many different categories that apply to all of the teachers. That way when she gathers the results she can see which teachers perform best in a specific category when compared to the others, thus giving Jane a better understanding of each teacher's overall performance.

Explanation:

Jack is using a document that has multiple references to his company as Company ABC, LLC. He would like to change these values to CompanyABC, LLC. What is the easiest way to do this?

Answers

Answer:

C. Press CTRL to access the Find and Replace dialog box.

Explanation:

yuh yuhuhu edge 2020 gang gang

write important of ICT in personal life?

Answers

Answer:

ICT is a great impact for are daily lives. It can improve the quality of a human life. The reason why it can improve that, it’s because it can be used as a learning and education media, the mass communication media in promoting and campaigning practical and important issues, such as the health and social area.

Explanation:

The amount of data that can be stored on a disk depends in part on_____.
a.
the number of tracks on the disk
b.
the thickness of the magnetic coating
c.
none of the above
d.
the rotational speed of the disk

Answers

to what it seems like, it’s d

Identify 5 way computer are used in weather forecasting an traffic control​

Answers

Answer:

Computers are used for interpolating data, and analyzing very complicated data.

Explanation:

In forecasting we need to look at a lot of weather variables (temperature, dew point, pressure and wind speed to name a few). We only collect this data from weather observation sites which can be tens to hundreds of kilometers apart. In order to determine these values at locations between the observation sites we interpolate.

When you are forecasting you need look at a lot of data and determine what is going on to determine what is going to happen next. If humans did all the interpolating themselves for all the data they would never be able to issue the forecast in the time that is expected. Furthermore, now that we have very complicated values to analyze (vorticity for example) there is no way that a human can calculate the effect of all the various factors in play. A computer has to do it.

Computers are also required for using weather radar, and yes to a lesser extent satellite data.

.
Why does the Moon have a greater effect on the tides compared to the Sun? (Select WILL GIVE BRANLEST PLS ASAP

two.)
The Moon is smaller than the Sun.
The Sun is closer to the Earth.
The Moon’s gravitational pull on the Earth’s oceans is stronger.
The Moon is closer to the Earth.
The Sun’s gravitational pull on the Earth’s oceans is stronger.

Answers

The correct option that explains the reason why the moon will have greater effect on the tides compared to the sun is;

Option D; The moon is closer to the Earth

Generally speaking, ocean tides on the earth are caused by both the gravity of the moon and the gravity of the sun.

Now, the mode of generation of ocean tides is not really by the total strength of gravity, but rather by the gravitational gradient.

Gravitational gradient is simply defined as the gravity differences from one spot to the other.

Now, from research, we know that the sun is far larger than the moon and this means in consequence it will have a far stronger total gravity than that of the moon. However, due to the fact that the moon is closer to the earth than the sun, it means the moon would possess a stronger gravitational gradient than which the sun possesses.

Now, let's get to ocean tides; The ocean tides arise as a result of the response of ocean water to a gravitational gradient and as a result, the moon will have a greater role in creating tides than that which the sun does.  

Read more at; https://brainly.com/question/24996618


Help me please I need the correct answe

Answers

Pretty much, yeah.

if it's wrong just pick false.

Your company works with organizations located in other countries. What is this an example of

Answers

Answer:

Globalization

Explanation:

When other countries work with other firms, international trade which is on a global scale is taken into consideration, allowing goods and services to trade between each other.

Answer:

Globalization

Explanation:

What would be the results if the Formula =2*C8+3*D9 is entered into a cell if the value displayed in C8 is 3,and the value in cell D9 is 2? Select one: a. 3 b. 18 c. 12 d. 25

Answers

Answer:

The correct answer is:

12 (c)

Explanation:

The codes as shown C8 and D9 represent cells in an Excel spreadsheet. the cell tags describe the column letter and row numbers. For instance; C8 means the 8th row in Column C, while D9 means; the 9th row in column D. In order to do mathematical functions with Excel, the formulae starting with an equal sign (=) like the one shown in this example are used. The function is solved as follows:

= 2*C8+3*D9

where:  

* = multiplication sign (×)

C8 = 3

D9 = 2

∴ 2*C8+3*D9 = (2 × 3) + (3 × 2)

= 6 + 6 = 12

∴ the result is 12

What am I doing wrong?

Answers

In your example, you're asking the user for a number and then you're setting total and nums equal to zero. This results in your first number being ignored by the program. I included the complete working code below:

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

total = num

nums = 1

while (total <= 100):

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

   nums = nums + 1

   total = total + num

print("Sum: "+str(total))

print("Numbers Entered: "+str(nums))

I hope this helps!

what isa programming language

Answers

Answer:

programming language is a formal language comprising a set of instruction that produce various kind of out put.

Answer:

A programming language defines a set of instructions that are compiled together to perform a specific task by the CPU .hope it's helps you have a great day keep smiling be happy stay safe.

Sam needs to create a spreadsheet for his coworkers. They will need to follow across a long row of data. Sam would like to make his spreadsheet easy to read. Sam should _____.

Answers

Complete Question:

Sam needs to create a spreadsheet for his coworkers. They will need to follow across a long row of data. Sam would like to make his spreadsheet easy to read. Sam should _____.

Group of answer choices

A. make some formatting changes such as adding a fill color to every other row.

B. change the text color to light green and change the fill color to red.

C. leave the spreadsheet without any format changes.

D. highlight the cells.  

Answer:

A. make some formatting changes such as adding a fill color to every other row.

Explanation:

A spreadsheet can be defined as a file or document which comprises of cells in a tabulated format (rows and columns) typically used for formatting, arranging, analyzing, storing, calculating and sorting data on computer systems.

Some examples of spreadsheet software applications are Microsoft Excel, Lotus symphony, iWork numbers, Google sheets etc.

In this scenario, Sam needs to create a spreadsheet for his coworkers. They will need to follow across a long row of data with informations such as name, age, gender, education, experience, address, date of birth, nationality, relationship status etc. Also, Sam would like to make his spreadsheet easy to read.

Hence, Sam should make some formatting changes such as adding a fill color to every other row by selecting the preferred row and choosing a specific color that he wants such as red, white, green, blue, yellow etc.

Basically, formatting a spreadsheet with different colors makes it easy to read and enhances quick location of specific information in the spreadsheet by the end users.

I WILL GIVE BRAINLIEST TO WHO ANSWERS FIRIST AND CORRECT
How are blogs and wikis alike?


accessible 24/7

telecommunications technology

collaboration tool

available online

used for online dialog

increase business productivity

Answers

Answer:

accessible 24/7

available online

increase business productivity

telecommunications technology

Blogs and wikis alike because they are:

Accessible 24/7.Available online.Increase business productivity.Telecommunications technology.

What are blogs?

A blog is known to be a short word for  “weblog”. This is known to be a kind of an online journal that is also said to be an informational website where one can get Infor on different subject.

Conclusively, Note that Blogs and wikis alike because they are Accessible 24/7 and one can get any information they want from it to increase  business productivity.

Learn more about Blogs from

https://brainly.com/question/3653791

#SPJ2

Which of these are reasons to evacuate a building during an earthquake? Mark all that apply.
A. There is a water leak.
B. The building is on fire.
C. There is structural damage to the building like newly cracked walls.
D. There is a gas leak.

Answers

Answer:

D

Explanation:

Answer:

c, b

Explanation:

I am guessing those are correct I don't really know

write a python program to print the following series 3..10..31..94......n​

Pls answer fast..

Answers

I've included my code in the picture below. Best of luck

Other Questions
How to solve 25= 4+ 7x Do you believe that Daniel Shays was guilty or not guilty? Explain your decision. Please give two pieces of evidence from the story to support your claim. Column AColumn Bvoted to boycott trade with the Britisha. Captain John Parker1. 2. .location of the militia's armsb. Benedict Arnoldsold military information to the Britishc. Paul Revere4.warned that the British were comingd. Continental Congress5.leader of minutemene. ConcordAG What is the correct answer? Can someone please help me with this! I'm really struggling with it A ladder is 2 metres long. It leans against a wallso the base is 86 cm from the wall.a Write 86 cm in metres.b How far up the wall does the ladder reach? How does Alice feel about her party?Alice enjoys her party and gets used to the nonsense.Alice is unsure at first but soon becomes frightened and angry.Alice is disappointed that she cannot do anything about the nonsense. Alice is happy that the Red Queen has gotten smaller. What does an oxygen atom do when becoming an ion? Im confused????????? 3x-2(x+5)=14 then x Please helpppp guyssssss how do you say i am a women and i like apples in spanish ABCD is a rhombus. Solve for x, if m AFB(16x + 6)BFDC The U-tube contains a coloured liquid of density 9.6 x102 kg/m3. If the difference in height between the liquid levels in the two arms of the U-tube is 0.16m, calculate the excess pressure (above air pressure) in the cylinder. (Take g = 10 N/kg) i have the most potential energy if i am Business 2: After apprenticing for another candy maker, I started my first candy business at age 18.Unfortunately, my first attempt at starting a business (as well as my second) was a failure. After a rocky start,my third try was more successful - I have just received a fortune from the sale of my caramel business. Duringmy world travels, I discovered new equipment that makes chocolate and decided to buy it. Today, only thewealthy can afford chocolate. With this new technology, I think I can make a chocolate that everyone canafford. In my mid-thirties, I know very little about making chocolate but I am willing to take the time to learn. Iwant my life to center on inventing new candies, building this new business, and laying out a new communitythat will be a wonderful place for the people I hire to live. I prefer to leave day-to-day operations of thecompanyhandling production, sales, marketing and distributionto someone else What is juxtaposition?1. when authors use contrasting examples to draw attention to key points2. when the reader is able to uncover a storys theme based on hints and clues3. when the reader relies on the thoughts and actions of the characters to determine growth4. when authors create suspense and tension as events move toward the climax The cervix is superior to the Please help ASAP! Answer the questions like 1. 2. 3 pls ocean trenches are most often formed when