Why do numA and numB have the same scope in the subtract function? def subtract(numA, numB): return numA - numB def divide(numC, numD): return numC / numD answer = subtract(24,6) print (answer)

Answers

Answer 1

Answer:

The output of the subtract method is "18".  

Explanation:

In the above-given code, two methods "subtract and divide" is declared, that accepts two variable in its parameter, and method work with there respective names.

In this code, the subtract method accepts two-variable "numA and numB", within the same scope because it helps the method in proper functioning, and if the variable is no defined in the scope it will give an error.

Answer 2

Answer: 18

Explanation: got it right on edgen


Related Questions

PLEASE HELP ME I NEED IT DONE TODAY!!!!!!!!!!!!
Discussion Topic
You know how businesses use spreadsheets in their day-to-day operations for storing, computing, analyzing, and visualizing data. Discuss the advantages of using spreadsheets to manage and organize your personal life.

Answers

Answer:

They're free.

They require minimal training so they're easy to figure out

Spreadsheets are difficult to share internally.

Spreadsheets are easy to share externally.

There's no clear indication of who's working on what when.

Multiple versions of the truth so you don't always have to stick with just one

Errors, can be everywhere but they can be solved

Explanation:

My explanation is that spreadsheets can be confusing but when you take your time and get help working on them they can become 2nd nature. I got my ideas from personal experience with them with help from teachers.

computer network reduces expenses of an office justify this statement​

Answers

Answer:

Computer Network reduces expenses of an office. Justify this statement with an example. Computer Networks can allow businesses to reduce expenses and improve efficiency by sharing data and common equipment, such as printers, among many different computers.Explanation:

Which position would a photographer typically use to make the viewer feel like an observer?
from below?
from the side?
from above?
from the front?

Answers

Answer:

From the side.

Explanation:

When the subject is faced away from the camera entirely, it’s easy to feel more like an unseen observer rather than an active presence. The further the distance between the camera and subject, the more the effect is intensified.

I just downloaded this song and if any one wants to listen to it then go ahead and do that. It’s called Trap Music 2018 âa bass boosted trap mix.

Answers

Answer:

ok

Explanation:

What is required to view other users’ calendars in Schedule view? Check all that apply.

their e-mail addresses
true Exchange Environment
their Outlook password
an e-mailed version of their calendar
privileges to share and view calendars

Answers

Answer: A, B, D, E, F

Explanation:

Answer:

ABDEF

Explanation:

Which are examples of digital video? Choose all that apply.

video played from a reel and shown at a drive-in movie theater

video downloaded from a website and played on a portable electronic device

video streamed from a broadcast news website

video played from a DVD player

Answers

Answer:

B, C, D

Explanation:

Edge 2021

     Digital video is the electronic representation of moving pictures as digital data that has been encoded. Contrasted with this is analogue video, which uses analogue signals to represent moving pictures. Digital video is made up of numerous digital images that are shown quickly one after the other.

DV is a type of video format ?

       In order to transfer DV signals between devices, they are encoded into 80-byte blocks known as DV-DIF data (DV Digital Interface Format). These DV-DIF blocks can either be stored as raw files with the.dv or.dif extension or wrapped in other file formats like AVI, QuickTime, and MXF.

         A file produced by a digital camera and saved in a common raw format is known as a digital video (DV) file. Each Digital Interface Block (DIF) in a DV file contains 80 bytes. Audio, video, and metadata can all be found in DIF blocks.

      Who or what uses DV?  A group of video camera manufacturers led by Sony and Panasonic introduced the DV family of codecs and tape formats for digital video storage in 1995.

      DV(digital video) is one kind of video file captured by dv camera, mini dv, and digital 8.

      DV mode – what is it? A video standard called DV (Digital Video) was introduced in 1996. It was developed by a group of businesses and given the official designation IEC 61834. There are a number versions of the DV standard, including DVCAM (Sony) and DVCPRO (Panasonic). Customers are familiar with MiniDV, DV's smaller format.

To Learn more About  digital video (DV), Refer:

https://brainly.com/question/19554652

#SPJ2

power supply, keyboard, monitor, mouse,ROM,CPU are belongs to Output, Input or Storage device​

Answers

Answer:

Keyboard :Input

Monitor: Output

Mouse:Input

ROM:Storage

CPU: Processing device

Landrolold are u there ???

Answers

Answer:

what is this landrolold

Which the following is true of functions?

A. Programs written with functions more quickly

B. Function can help remove repeated code from a program

C. Replacing repeated code with a function will reduce the number of commands the computer needs to run.

D. Functions are called once but can be declared many times

Answers

The answer you are clocking for is B. Hope this helped!

Think about a game you've played recently, a program you've interacted with, or an application you've recently used. Explain how the programmers for that software used multiple data types as variables. Your discussion should cover logical types, string variables, and at least one type of numerical variable.

Answers

Answer:

The black Jack game using Python has score card variable for the player and the dealer. A conditional if statement would add a random card number if the player decides to hit but prints a string of the total card value collected if not and compares the integer with the dealer's score to reveal to winner.

Explanation:

The game creates an infinite loop to add card value to player's score if he chooses to hit and break the loop if he stays. The dealer's loop adds random number to the score but break if the score is equal to or greater than 16. Both scores are compares with an if statement to decide the winner.

Company Wizzy is having trouble with network security. Issues with authentication, viruses, malware/spyware, and other network intrusions are tapping their resources. They continually try to keep on top of things but are finding it harder and harder to do. They are considering a cloud computing service. Which service would be the best choice for them in solving their problem?

Infrastructure as a service
Network as a service
Security as a service
Software as a service

Answers

Answer:

B) security as a service I'm just doing the work

Which four of the following qualify as fair use?

1. using a quote from a book that you are reviewing for a school assignment
2. modifying an image from a website and using it in a flyer for a local business
3. making a photocopy of a data table for reference while writing an assignment
4. creating a video parodying a character in a popular movie
5. paraphrasing a scholarly article in a news report

Answers

Answer:

1 using the quote and citing it

Explanation:

I would say option 1 :)

George has to present the goals of information management to his team member. What is a goal of information management?
The goal of information management is to identify information requirements for various____levels.

Answers

Answer:

Management

Credit / Resource:

This problem has already been solved, if you would like to view more about this please click the question link below.

https://brainly.com/question/5495374

4.2 Lesson Practice Edhisive

Answers

Answer:

10

Explanation:

A presentation software that is used to organize and present pertinent information using graphics, word processing, outlining, drawing, and presentation management tools is called ?
A Microsoft Word
B Microsoft Excel C
Microsoft PowerPoint
D None of these are correct.

Answers

Answer:

C

Explanation:

Well, in your inquiry it says

"A presentation software that is used to organize and present pertinent information using graphics, word processing, outlining, drawing, and presentation management tools"

We know it isn't Microsoft Word, because Microsoft Word doesn't have a presentation feature. We know it isn't Excel because Excel is only meant for spreadsheet and analytics data.

However, on PowerPoint all these points make sense, PowerPoint is a tool that Microsoft created for the capabilities such as to present information, you can also put information inside of graphics as well, you can also draw, and outline too.

A material systems developer typically combines the skills of a programmer with the multitasking expectations of a
.

Answers

Explanation:

Material systems developer typically combines the skills of a programmer with the multitasking expectations of developing 3 dimensional models of objects, enhancing the graphical effects.

don't delete my answer this time i try to help ppl

Some people recommend deleting social media accounts because of the troubling legal and ethical implications of social media. Do you support this position? Why or why not?

Answers

Answer:

I do not support this

Explanation:

One reason is because the benefits for social media out way the unbeneficial parts.one reason is because sites like social media have forever changed the life of many familys across the globe.

Which of the following is considered proper ergonomics?
Elevating keyboard, so wrists are bent when typing
Placing the mouse close to the keyboard
Resting wrists on the desk while typing
Working on a computer while sitting in a recliner

Answers

Answer:

The First One

Explanation:

because ergonomics is trying to make the person who is using the device be in a more natural position. Raising the keyboard will make the typer feel more comfortable.

Elevating keyboard, so wrists are bent when typing of the following is considered proper ergonomics. Thus, option (a) is correct.

What is ergonomics?

Human factors ergonomics, as it is known in North America, is an area of research that seeks to learn understanding people intelligence and constraints and then utilize this knowledge to improve people's interactions with things, systems, and surroundings.

Raising the keypad and bending the wrists when typing, according to ergonomics, are employed to place the person using the computer in a more favored role. Moving the keyboard relaxes the typer. Wrist supports are commonly seen on keyboards and keyboard trays to help keep your wrists in a normal, virtually straight position.

As a result, the elevating keyboard, so wrists are bent when typing of the following is considered proper ergonomics. Therefore, option (a) is correct.

Learn more about on ergonomics, here:

https://brainly.com/question/6246159

#SPJ5

AYYOOOO CAN YOU HELP A GIRL OUUTT???
Fields are data items representing a single attribute of a record. Question 2 options: True False

Answers

Answer: The answer is true

Can anybody do this for me

Answers

Answer:

943

The ENIAC was invented by J. Presper Eckert and John Mauchly at the University of Pennsylvania and began construction in 1943 and was not completed until 1946. It occupied about 1,800 square feet and used about 18,000 vacuum tubes, weighing almost 50 tons.

Explanation:

Computers have evolved and advanced significantly over the decades since they originated. Many years ago, in their most rudimentary form, computers were very large and slow. Gradually, computers have become smaller and faster, enabling people to use them virtually anywhere.

can i have brainliest

Can someone give me the code for the edhesive 3.7 code practice for python? Thanks.

Answers

Answer:

Its me I think u might be able to know :)

Explanation:

Vincent has enrolled in a web development degree in college. But he also wants to learn a few extra tools and programming languages. Which course of action can help him?

Answers

Answer:

Apply for online course or programming bootcamps.

Explanation:

As a beginner in web development, it is essential to expand your sources of information, college courses for web development would introduce various new tools and programming concepts. Gathering information and learning other web based tools would ease the learning process.

QUICKLY PLEASE!!!

Respond to the following in three to five sentences.

What is the purpose of netiquette guidelines?

Answers

Answer: As the conventional etiquette, which lays out rules of ethics in social contexts, the purpose of netiquette is to help create and sustain a friendly, relaxed and productive atmosphere for online contact, as well as to avoid putting pressure on the system and creating tension between users.

Explanation:

HELP PLSSSSS!!! I WILL MARK BRAINLIEST FOR THE FIRST AND CORRECT ANSWER!!!

How does hardware differ from software?

Hardware can be an external tool, whereas software is an internal tool.
Hardware performs tasks, whereas software provides instructions.
Hardware runs the computer, whereas software performs tasks.
Hardware is the brain of a computer, whereas software is the heart.

Answers

The answer you are looking for would be A. Hardware can be an external tool, where as software is an internal tool. Hope this helped!

Answer:

The correct answer is A

Explanation:

can you please help look at the picture i will give you a. brainliest and 10 points​

Answers

Answer:

The last one

Explanation:

B Sofia should Distraction free Study environment. So she be Free to study with nothing Distracting Her.

All the following are the basis of the World Wide Web except:
Web browser programs
Infrastructure
Web servers
HTML

Answers

Answer:

Web browser programs

Explanation:

Web broswer programs arent very important because they arent being used to maintain the servers or contail the contents of all the sites, they are only used by people to easily view the world wide web without using advanced commands in a terminal to view sites. all the other selections are very important when it comes to maintaining the entirety of the internet.

Answer:

web browser'

Explanation:

delete temp or %temp% files in Windows 10 is safe and, can it help boost up your PC fps?

yes or no

Answers

Answer:   yse

Explanation...

To ensure your online résumé is selected by employers using online searches, you must include _____ in your résumé.

html
key words
long descriptions
hyperlinks

Need answer asap!!

Answers

You must use key words.

A big part of SEO is choosing the correct keywords

Answer:

he correct answer is letter "B": keywords.

Explanation:

Human Resources (HR) staff usually handle an overwhelming number of resumes during openings. To make sure during online searches a curriculum vitae will be selected, keywords must be included. It is most likely that the HR staff will just filter words with the characteristics of the person they are looking for instead of looking at every resume they receive.

plz mark as brainliest

Out of these video games which one do you think is the best
(dont answer if you have never played at least 3 of these games)
Rivals of Aether
Super smash bros ultimate
Smash flash 2
Project M

Answers

Answer:

Tbh Rivals of Aether was pretty good but I gotta go with SMBU

Explanation:

SMBU was lit that's all there is to it

Answer:

Super smash bros ultimate

Explanation:

its ultimate

List any ten keyboard symbols.​

Answers

Answer:

Esc- Esc (escape) key.

F1 - F12 What are the F1 through F12 keys?

F13 - F24 Information about the F13 through F24 keyboard keys.

Tab Tab key.

Caps lock- Caps lock key.

Shift- Shift key.

Ctrl - Control key.

Fn- Function key.

Alt- Alternate key (PC only; Mac users have an Option key).

Spacebar- Spacebar key.

Hope this helps, have a great day/night, and stay safe!

Other Questions
A job placement agency helps match job seekers with potential employers. The agency would like to design a simulation in order to help predict the likely job placement outcomes for job seekers based on historical trends and patterns. Which of the following is most likely to be a benefit of the simulation? A. The computer simulation will be able to include more details and complexity than the real-world job placement process. B. The computer simulation could be used to test hypotheses about patterns in the job placement process that are costly or time consuming to observe in reality. C. The computer simulation will be able to precisely predict the real-world outcomes for each job seeker. D. The computer simulation will remove the bias that may arise in the real-world job placement process. pls help (-12) c = 12c = ? A baseball team scored 5 more runs in its second game than its first. The team scored twice as many runs as the first game in the third game. The total number of runs in all three games was 29. How many runs were scored in the second game? Pls only put the answer nothing other than that You are making omlets how should you handle the egg to keep the omelette safe If you have read the book "The Outsiders" By S.E Hinton, i need a direct quote about a thought relating to Bob, and an Action Bob does. Please give a page number and the quote, that is all. I will give brainliest, 5 star rating, and a like on ur answer, of course :) 1. Find the value of n(show your work)n + 7.5 = 48MUST SHOW WORK!!! A mineral is made from WHAT in the ground?a. organismsb. nonliving substancesc. decomposing materialsd. water(PLSS ANSWER THIS QUESTION *WITH* CORRECT ANSWER AND EXPLANATION AND YOU'LL GET BRAINLIEST WHOEVER ANSWERS FIRSTTTT!!!) CAN SOMEONE PLEASE HELP ME WITH THIS QUESTION I NEED TO TURN IT IN TODAY All of the following were part of the literature and art of the 1920s "Harlem Renaissance" EXCEPT:a. HughesC. Armstrongb. Ellingtond. Marshall In order to prevent injury in a car crash, it is recommended that you _______.A) Increase the time of the collision.B) Increase the change in momentum of the collision.C) Increase the force in the collision.D) Increase the initial velocity of the collision. what are reflex angles? I don't know what they are so just tell me in the most simple way possible of what reflex angles are so I can understand plz. Also can you tell in the simplest way how to solve a reflex angle problem? Thank you, Have a good day :) Can I conclude ? (Please dont be wrong Ill give brainlist) How many atoms of hydrogen in the product side of the balanced equation?Fe + H2O ---> FeO + H2A) 2B) 3C)6 can anyon help i have no idea ''The world shall know pain'' Me: Pain or Pain??????????????? Hurry Up1.What is Water Mill? Matter can go through a phase change and still have the same mass. I need help...................... pleaseee helpA job placement agency helps match job seekers with potential employers. The agency would like to design a simulation in order to help predict the likely job placement outcomes for job seekers based on historical trends and patterns. Which of the following is most likely to be a benefit of the simulation?A. The computer simulation will be able to include more details and complexity than the real-world job placement process.B. The computer simulation could be used to test hypotheses about patterns in the job placement process that are costly or time consuming to observe in reality.C. The computer simulation will be able to precisely predict the real-world outcomes for each job seeker.D. The computer simulation will remove the bias that may arise in the real-world job placement process.