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

2. The internet offers a great source of information; however, how are
you going to make sure that these pieces of information are reliable?​

Answers

Answer:

There are many different ways that you can ensure that the information you gather on the internet is reliable and accurate! One way is to not look at Wikipedia and sites where anyone has the access to edit it at any time. Sites that are .com or .org are usually from a direct and safe source. Stay away from media websites and if you believe something isn't right, do further research.

Explanation:

Hopefully this helps.

Which of the following is not one of the views available in the PowerPoint application?

Show View
Slide Sorter
Notes Page
Reading Pane

Answers

Answer:

A. Show View

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.

Basically, the views that are available on the Microsoft PowerPoint application includes;

1. Slide Sorter.

2. Notes Page.

3. Reading Pane.

Hence, show view is not one of the views available in the PowerPoint application.

CALCULATE THE PERCENTAGE OF FAT CALORIES TO TOTAL CALORIES. I got no idea how to do this in excel ;-;

Answers

Answer:

As you have the Fat Cal. in column C and the total calories in Column B, what you have to do is to divide column C by Column B.

For instance, in column E2, put the formula: =C2/B2.

Then drag the formula down so that the other formulas will be;

E3; =C3/B3

E4; =C4/B4

E5: C5/B5

E6: C6/B6

Then after that you go to the Home tab, then to the Number style section and format E2 to E5 to be percentages.

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:

i think 1 3 and 4

Explanation:

Select all the correct answers.
In which TWO ways does e-governance empower citizens?

Citizens can obtain information directly from government websites.
Citizen can easily fix appointments with senators online.
Citizens do not need to travel to government offices.
Citizens can vote online on the bills introduced in the legislature.


i will have more questions under ur answers

Answers

Answer:

Citizens can obtain information directly from government websites.

Citizens do not need to travel to government offices.

Explanation:

These seem the most appropriate to me.

1. What sort of information should be taken by the human resource before
leaving for foreign employment? Write in brief.​

Answers

Answer:

DDDDDDDDDDDDDDD

Explanation:

Answer:

Sources of information on foreign job opportunities. Blue, newspapers or professional journals; Red, personal contacts abroad; Green, recruitment websites.

Explanation:

Use of the Internet for e-government has increased. Identify the benefits by checking all of the boxes that apply.
A. It keeps the public informed about events
B. People do not have to vote
C. People can pay bills
D. People do not have to visit the site
E. The government can share important information about issues with the people in that town.

Answers

It’s A my good guy have a great day

Answer:

the answer is A C and E

Explanation:

_______are a set of track sectors, ranging from 2 to 32 or more, depending on the formatting scheme in use.

a.
Cylinders
b.
Track sectors
c.
Tracks
d.
Clusters

Answers

Answer:

pretty sure it's d. clusters

if not it's also probably a. cylinders

Explanation:

A file is transferred from one computer to another at the rate of 320 Kb/sec. How long would it take to complete the transfer if the file was 12.4 MB

Answers

Answer: 38.75 secs

Explanation:

Given data:

Size of the file been transferred = 12.4mb

Transfer speed = 320kb/secs.

Solution:

First we convert 12.4mb to kb.

= 12.4 * 1000

= 12,400kb.

We calculate for how long it would take to transfer the data

= 12400kb/320kb/s

= 38.75secs.

It would take 38.75 secs to transfer the data of 12.4mb.

What number will be output by the console.log command on line 5?
A. 10
B. 11
C. 12
D. 13
E. 16

Answers

Answer:

E

Explanation:

If you follow the line of code and add 1, 2, and then 3, 10 + 1 + 2 + 3 = 16.

The output of the block of code will be 16 as the value of the variable is assigned a new value based on the number added to it on each line.

The initial value of the variable oop is 10

On the next line, 1 is added to oop and the resulting value is reassigned to the same variable, the new value of oop is 11

On the next line, 2 is added to oop and the resulting value is reassigned to oop, the new value of oop becomes 13

Variable oop is then increased by 3 ; making the value become (13 + 3) = 16

Therefore, the output of the command is 16.

Learn more :https://brainly.com/question/18505492

You wrote a program to find the factorial of a number. In mathematics, the factorial operation is used for positive integers and zero. What does the function return if the user enters a negative three? def factorial(number): product = 1 while number > 0: product = product * number number = number - 1 return product strNum = input("Enter a positive integer: ") num = int(strNum) print(factorial(num))
-6
1
-3
There is no output due to a runtime error.

Answers

Answer: well it’s not “There is no output due to a runtime error”

Explanation: Put that and I got it wrong

The Answer Is 1.

Edge 2020.

What makes e-mail different from other forms of business communication?

Answers

Answer:

because it is an electronic mail

Answer:

Email can be both formal or informal however face to face communication is usually most effective in business.

What is the difference between a displayed result and a formula?
The displayed result is always the same number, but the formula changes.
The formula is always the same as the displayed result, it will always be a simple value.
The displayed result changes as the formula dictates it; it may not be a simple value.
The displayed result and the formula are unrelated.

Answers

Answer:

The displayed result changes as the formula dictates it; it may not be a simple value.

Explanation:

Answer:

The displayed result changes as the formula dictates it; it may not be a simple value.

Explanation:

25 POINTS. Which three features are related to the functions of a continuous rotation servo motor?
A. The command signal sets the direction and speed of rotation.
B. It can change the shaft's movement from circular to forward or backward motion.
C. It is commonly used for radar navigation on robots.
D. The motor can turn either clockwise or counterclockwise with no limits.
E. There are barriers in the design that prevent rotation beyond a half circle.

Answers

I think A I’m not too sure though! Try looking it up cause I’m not sure about my answer

Sonora wants to extend the cells to be added in her formula. What is the quickest way to add more cells?
O Go to the Function Library group and click Insert Function.
Click the Insert tab in the ribbon and then Equation.
O Type the ranges in the parentheses in the formula bar.
O Left-click on a cell that is included and drag the cursor.

Answers

Answer:

D

Explanation: took the test on edge

Answer:

Left-click on a cell that is included and drag the cursor.

Explanation:

What is the
binary code
for
"DMS"?

Answers

Answer:

D= 01000100

M= 01101101

S= 01110011

Explanation:

(Java) Write a program that accepts a number of minutes and converts it both to hours and days. For example, 6000 minutes is 100.0 hours or 4.166666666666667 days.​

Answers

import java.util.Scanner;
public class MinutesConversion {
private static Scanner inputDevice;
public static void main(String[] args) {
int minutes, hours;
float days; // float for decimal point

inputDevice = new Scanner(System.in);
System.out.println("Please enter minutes for conversion >> ");
minutes = inputDevice.nextInt();
hours = minutes / 60;
days = hours / 24.0f;


System.out.println(+ minutes + " minutes is " + hours + " hour(s) or" + days " days");
}
}

The program is a sequential program, and it does not require any conditional statement or iteration.

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

import java.util.*;

public class Main{

public static void main(String[] args) {

 //This declares minutes as a double data type

 double mins;

 //This creates a Scanner object

 Scanner input = new Scanner(System.in);

 //This gets input for minutes

 mins = input.nextDouble();

 //This converts the minutes to hour and days, and also print them

 System.out.println(mins/60+" hours or "+mins/1440+" days");

}

}

At the end of the program, the equivalent number of hours and number of days are printed.

Read more about similar programs at:

https://brainly.com/question/8598360

Find true or false. A hacker is hacking software with access in sensitive information from your computer​

Answers

ITS TRUE!!I SEARCHED IT

PLEASE HELP ME!!! I REALLY NEED YOU TO HELP ME NOW!!!! THANKS!

PLEASE ANSWER CORRECTLY!!!!!!!!!!!!! DONT ANSWER FOR THE POINTS!!!


In this project, you will plan and write a program to solve a math algorithm. You will identify possible errors and handle them in your program. Choosing Your Math Algorithm Think of a math question that takes several steps to solve. It should not be a math question already programmed in the unit. The question should require input from the user, process the information, and display the results. You can choose your own algorithm. It does not need to be one of these. Find the surface area of a cylinder. Find the surface area of a pyramid. Find the hypotenuse of a right triangle. Your Task Write a pseudocode plan for your program. Write the code for your program. Test your program. Run it at least three times with different inputs. Save your program as a .txt file for you cannot upload a .py file. Evaluate your project using this rubric. What to Submit Submit the .txt file holding your program.

Answers

Answer:

Surface of a Cylinder Code:

#import math package to use math.pi for the value of PI

import math

#take radius of the base of a cylinder from user

r=float(input("Enter r of a cylinder"))

#take height of the curve surface of a cylinder from user

h=float(input("Enter the Height of a cylinder"))

#calculate the surface area of cylinder

s_area=2*math.pi*pow(r,2)*h

#calculate the volume of cylinder

volume=math.pi*pow(r,2)*h

print("surface area of a cylinder wll be %.2f" %s_area)

print("volume of a cylinder will be %.2f" %volume)

Quadratic Equation Code:

import math

a = int(input("Enter the coefficients of a: "))

b = int(input("Enter the coefficients of b: "))

c = int(input("Enter the coefficients of c: "))

d = b**2-4*a*c # discriminant

if d < 0:

print ("This equation has no real solution")

elif d == 0:

x = (-b+math.sqrt(b**2-4*a*c))/2*a

print ("This equation has one solutions: "), x

else:

x1 = (-b+math.sqrt((b**2)-(4*(a*c))))/(2*a)

x2 = (-b-math.sqrt((b**2)-(4*(a*c))))/(2*a)

print ("This equation has two solutions: ", x1, " or", x2)

Dropdown
Choose the correct data type.

type(3) tells you the type is___

type("35") tells you the type__

type(3.5) tells you the type__

Answers

type(3) is int

type("35") is string

type(3.5) is float

Following is the correct data type that one get after giving the following commands”

type(3) is int

type("35") is string

type(3.5) is float

What is the data type?

In any of the computer science and computer programming worlds, a data type is considered for the possible value set and it allows what kind of operation one has to do on it. A variable's basic data type is the classification that specifies the type of value it has.

Most of the time, the data type is used for programming, so don't be concerned about the type of mathematical relations and logical operations that can be applied.

There are basically five types of data types divided on the basis of most modern computer languages. They are integral, floating-point, character, character string, and composite types

Learn more about data type from here:

https://brainly.com/question/14581918

#SPJ2

A typical day in programming and software development would involve

Answers

Answer:

software development would involve

Explanation:

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

An employee was watching Jessica, an IT employee, typing in many different confusing terms. Jessica explained that she needed to fix the code and test a couple of programs before she could train the employee on how to use the software. Which IT career would be responsible for these tasks?

Answers

Answer:

Programming and Software Development

Explanation:

Answer:

b on edge

Explanation:

Circuit pruning occurs only before puberty.
O True
O False

Answers

Answer:

False

Explanation:

Answer:

The answer is false goodluck6

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.

Which are examples of primary sources? Check all that apply.

diary
newspaper article
biography
photograph
speech

Answers

Answer:

A, D, E

Explanation:

Diaries, photographs, and speeches are all forms of primary sources, whereas biographies and newspaper articles are written by a secondary source.

Answer:

a,d,e

Explanation:

Select the correct answer.
Adrian is organizing a training lecture for his students in various states simultaneously through radio, TV, and the Internet. What is this event
known as?

A. webcast

B. simulcast

C. broadband

D. online lecture

Answers

Answer:

a

Explanation:

a webcast is the answer I think

whats the name of the windows 10 nucleus

Answers

Answer:

motheboard

Explanation:

What would happen if a program try to access a variable that was to find locally in another part of the program?

Answers

They project would fail aka not succeed

To what extent is cyberbullying experienced across the world?

Answers

Answer:

All around the world

Explanation:

Every were there’s tech.

Other Questions
Answers to The Progressive Era on CommonLit. What is 9x for x = 4 Please answer the following essay question:How do you think the settlers desire for more land would affect relations with the Indians? Explain your answer.Your answer should be at least 5-7 sentences in length. In some situations, the House of Representatives can elect the president of the United States.Please select the best answer from the choices providedTF Evaluate Claims A student claims that the four types of macromolecules make up all of the important compounds of the human body. Provide evidence and reasoning to support or refute this claim. "It's just that . . . without the memories it's all meaningless. They gave that burden to me. And to the previous Receiver. And the one before him." "And back and back and back," Jonas said, knowing the phrase that always came. The Giver smiled, though his smile was oddly harsh. "That's right. And next it will be you. A great honor." "Yes, sir. They told me that at the Ceremony. The very highest honor." The Giver by Lois Lowry Part A What is the Giver's point of view about his role in the community? Use scientific reasoning to explain why, in general, it makes sense that the lion population is taking longer to recover than the herbivore populations. A submarine is built to dive to a depth of 90 m where the pressure in the water is about 1 MPa. The engineers want to build a window in the submarine, but the window can only take a force of 10 kN safely. What is the largest surface area window that can be used? PLEASE HELP I WILL GIVE BRAINLIEST Please walk me through how to solve this. I've already graphed it, just need to know how to solve. Thanks! Graph ABCD with B(0,6), C(2,-5), and D(-8, -1),then order the angle measures from least togreatest. Assume the table gives data on field goal shooting for two members of the Benedict College 2014-2020 men's basketball team. Seth Fitzgerald Roberto Mantovani Made Missed Made Missed Two-pointers 123 118 87 84 Three-pointers 31 6 2 17 NOTE: The numerical values in this problem have been modified for testing purposes. (a) What percent of all field goal attempts did Seth Fiqzgerald make? (Enter your answers rounded to two decimal places.) Seth Fitzgerald's overall field goal percentage:_______ What percent of all field goal attempts did Roberto Mantovani make? (Enter your answers rounded to two decimal places.) What percent of all field goal attempts did Roberto Mantovani make? (Enter your answers rounded to two decimal places.) Roberto Mantovani's overall field goal percentage:______________. (b) Find the percent of all two-point field goals and all three-point field goals that both Seth and Roberto made. (Enter your answers rounded to two decimal places.) Seth Fitzgerald's two-pointers: ______________% Roberto Mantovani's two-pointers:___________ % Seth Fitzgerald's three-pointers:____________ Roberto Mantovani's three-pointers:__________ (c) Roberto had a lower percent than Seth for both types of field goals, but had a better overall percent. That sounds impossible, select the correct statement concerning the situation. i) This is an example of Simpson's paradox. The comparison that holds for both field goal groups is reversed when the groups are combined into one group. ii) The sample size is too small and this explains why the results seem contradictory. iii) You should never compare percentages for two different groups. iv) This is an example of correlation. The comparison that holds for both field goal groups is reversed when the groups are combined into one group. The price of a video game was reduced from $60 to $45. By what percentage was the price of the video game reduced?A.15%B.25%C.75%D.40%is it A?im just not really good at math and I don't have much time left for the test im taking so PLEASE HELP! Find an equation of the plane through the point (1, -4, 0) and perpendicular to the vector (5, 1, -4). Do this problem in the standard way or WebWork may not recognize a correct answer. IDK WHY T.F I'M ASKING BUT PLZ HELP FOR REALhow is the setting important in the gentleman of rio en medio? Mrs. Nygaards class has 12 boys and 14 girls. She asked the class members if they prefer a field trip to the local zoo or to an aquarium. She set up a two-way table to summarize the results. Which could describe the row and column headings for Mrs. Nygaards table? gender and field trip preference gender and number of students who prefer the aquarium number of boys and number of students who prefer the aquarium number of girls and field trip preference Leila and Jo are two of the partners in a business. Leila makes $3 in profits for every $4 that Jo makes. If Jo makes $60 profit on the first item they sell, how much profit does Leila make? pls help U_O Why are slide presentations universal in business environments?A. Because the software is free and easy to obtainB. Because of their compatibility with media and soundC. Because they are easy to use and can accommodate all varietiesof informationD. Because they are extremely easy to share with your friends andfamily membersSUBMIT PLEASE HELP FAST & CORrect 50 POINTS Joann wants to save the building block she created for the title of her company.In which file does she save this building block? Can someone help me with this question