subject

In the program below, which two variables have the same scope? def welcome(strName):
greeting = "Hello " + strName
length = len(strName)
print (greeting, length)

def average(numA, numB):
sumNumbers = numA + numB
ave = sumNumbers / 2
return ave

myName = 'Jaynique'
myAverage = average(3, 7)
welcome (myName)
print (myAverage)

myName and A. Jaynique B. myAverage C. strName

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 02:00
What is the main benefit of minimizing the ribbon in word? more options will be accessible through customized keystrokes. more of the document will be viewable without needing to scroll. fewer controls will be accessible to the user by using the mouse. fewer editing options will be available without entering a password.
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
What provides an array of buttons for quick access to commonly used commands and tools
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
When writing a business letter, how many times can you use the same merge field in a document? once once, unless using the address block feature unlimited it will depend on the type of document you choose
Answers: 1
question
Computers and Technology, 24.06.2019 11:20
Every telecommunication setup uses two devices: one device to transmit data and one device to receive data. which device transmits frequencies to mobile phones? towers transmit frequencies to mobile phones.
Answers: 1
You know the right answer?
In the program below, which two variables have the same scope? def welcome(strName):
greetin...
Questions
question
Law, 11.02.2021 02:00
question
Mathematics, 11.02.2021 02:00
question
English, 11.02.2021 02:00
question
English, 11.02.2021 02:00
Questions on the website: 13722359