![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 09.02.2021 01:00 gaby4567
In the program below, which variable has the same scope as strA?
def usernameMaker (strFirst, strLast):
return strFirst + strLast[0]
def passwordMaker (strA, numC):
if len(strA) > 4:
answer = dogName[0:3]
return answer + str(numC)
else:
return 'xk&' + str(numC)
# the main part of your program that calls the function
username = usernameMaker ('Chris', 'Smith')
dogName = 'Sammy'
favoriteNumber = 7
password = passwordMaker (dogName, favoriteNumber)
print ("Username is ",username)
print ("Password is ",password)
Question: StrA and have the same scope.
StrLast, NumC, StrFirst, favoriteNumber
![ansver](/tpl/images/cats/User.png)
Answers: 1
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 19:30
Singing in the rain: this first part of the film shows the early history of motion picture. how accurate do you think the portrayal of the early motion picture industry is? why? is historical accuracy important in films and theater productions? explain.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 06:20
What is a point-in-time measurement of system performance?
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 12:40
Curriculum exam to process a resident's payment, you must click on onesite payments home page. from the a. reports b. my settings o c.transactions o d. rent tab
Answers: 1
You know the right answer?
In the program below, which variable has the same scope as strA?
def usernameMaker (strFirst, strLa...
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 21.01.2021 08:00
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 21.01.2021 08:00
![question](/tpl/images/cats/mat.png)
Mathematics, 21.01.2021 08:00
![question](/tpl/images/cats/mat.png)
Mathematics, 21.01.2021 08:00
![question](/tpl/images/cats/mat.png)
Mathematics, 21.01.2021 08:00
![question](/tpl/images/cats/istoriya.png)
History, 21.01.2021 08:00
![question](/tpl/images/cats/mat.png)
Mathematics, 21.01.2021 08:00
![question](/tpl/images/cats/biologiya.png)
Biology, 21.01.2021 08:00
![question](/tpl/images/cats/mat.png)
Mathematics, 21.01.2021 08:00
![question](/tpl/images/cats/mat.png)
Mathematics, 21.01.2021 08:00
![question](/tpl/images/cats/en.png)
English, 21.01.2021 08:00
![question](/tpl/images/cats/mat.png)
Mathematics, 21.01.2021 08:00
![question](/tpl/images/cats/istoriya.png)
History, 21.01.2021 08:00
![question](/tpl/images/cats/mat.png)
Mathematics, 21.01.2021 08:00
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 21.01.2021 08:00
![question](/tpl/images/cats/en.png)
English, 21.01.2021 08:00
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/fr.png)
French, 21.01.2021 08:00