75.4k views
1 vote
PLEASE HURRY!!!
Look at the image below

PLEASE HURRY!!! Look at the image below-example-1
User Qylin
by
4.5k points

1 Answer

4 votes

Answer:

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

Step-by-step explanation:

In this question, the given code is :

def divide(numA,numB):

quotient = numA/numB

return quotient

#the main part of your program that calls the function

numC=40

numD=5

answer=divide(numC,numD)

print("Quotient", answer)

print (numA)

The variable numA scope is local to divide function.

Because you can not access this variable outside of the divide function. All other variables such as numB and quotient also local variables of the divide function. These variables can not be accessible outside the divide function.

User Dan At Demand
by
4.6k points