![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, 23.06.2019 06:30
Martha is designing a single-player game. her manager suggests that she plan the design to incorporate future modifications. which principle of game design relates to planning for future modifications?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 01:00
What are two ways to access the options for scaling and page orientation? click the home tab, then click alignment, or click the file tab. click the file tab, then click print, or click the page layout tab. click the page layout tab, or click the review tab. click the review tab, or click the home tab?
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 13:10
Write a program that has a conversation with the user. the program must ask for both strings and numbers as input. the program must ask for at least 4 different inputs from the user. the program must reuse at least 3 inputs in what it displays on the screen. the program must perform some form of arithmetic operation on the numbers the user inputs. turn in your .py file as well as a screenshot of your program's output. include comments in your code to explain how it works an example program run might look like (have fun with this and be creative): βwhat is your name? β βjoshβ β, josh. what is your favorite color? β βgreenβ βmine too. do you also like ice cream? β βnoβ βjosh, how old are you? β β40β β and how many siblings do you have? ββ β3β βthat means you are one of 4 kid(s). is green the favorite color of anyone else in your house? β
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 15:00
Who introduced the concept of combining artificial and natural light in the studio
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)
![question](/tpl/images/cats/mat.png)
Mathematics, 02.02.2020 12:42
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 02.02.2020 12:42
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 02.02.2020 12:42
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 02.02.2020 12:42
![question](/tpl/images/cats/mat.png)
Mathematics, 02.02.2020 12:42
![question](/tpl/images/cats/mat.png)
Mathematics, 02.02.2020 12:42
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 02.02.2020 12:43
![question](/tpl/images/cats/mat.png)
Mathematics, 02.02.2020 12:43
![question](/tpl/images/cats/mat.png)
Mathematics, 02.02.2020 12:43
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/biologiya.png)