menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
In the program below, which two variables have the same scope? def subtract(numA, numb): return numA - numB def divide(numC, numD): return numC/ numD answer = divide(24,6) print (answer) numD and num numA
asked
Feb 5, 2021
38.8k
views
1
vote
In the program below, which two variables have the same scope?
def subtract(numA, numb):
return numA - numB
def divide(numC, numD):
return numC/ numD
answer = divide(24,6)
print (answer)
numD and
num
numA
numB
Yeah
Computers and Technology
college
Jonathan Small
asked
by
Jonathan Small
8.7k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
1
vote
Answer:
Numc
Step-by-step explanation:
Just did the quiz :]
DYale
answered
Feb 11, 2021
by
DYale
8.4k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Jun 4, 2021
165k
views
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)
Michael Shmalko
asked
Jun 4, 2021
by
Michael Shmalko
9.2k
points
Computers and Technology
high-school
1
answer
5
votes
165k
views
asked
Jul 10, 2021
133k
views
PLEASE HURRY!!! What is the output of the following program? Assume numA is 4, numB is 2, and numC is 6. if numA < numB and numB < numC: print(numA) elif numB < numA and numB < numC: print(numB) else: print(numC) A) 2.0 B) numA C) 4.0 D) numB
Dveim
asked
Jul 10, 2021
by
Dveim
8.1k
points
Computers and Technology
college
2
answers
0
votes
133k
views
asked
Feb 17, 2021
217k
views
What is the value of numC when this program is executed? numA = 4 numB = 10 if numA == 2: numC = 10 elif numA > numB: numC = 20 else: numC = 30
Cleg
asked
Feb 17, 2021
by
Cleg
8.6k
points
Computers and Technology
high-school
2
answers
0
votes
217k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.4m
questions
12.2m
answers
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Seven basic internal components found in a computer tower
Please help me ! All you do is just put it it all in your own words ! Please this is for my reported card!i don't know how to put it in my own words because my English is not that good!
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org