Describe the scope of the variables in this code.
class pet:
def __init__(self, strSpecies, s...
Computers and Technology, 03.12.2020 01:50 shermaine17
Describe the scope of the variables in this code.
class pet:
def __init__(self, strSpecies, strName):
self. species = strSpecies
self. petName = strName
def __str__(self):
return self. species + " named " + self. petName
def changeName(self, newName):
self. petName = newName
class petCarrier:
size = 'medium'
color = 'red'
The scope of petName .
The scope of color is .
Accessible to the entire program
limited to the petCarrier class
limited to the pet class
(both of the blanks need one of those answers)
Answers: 3
Computers and Technology, 21.06.2019 22:30
The blank is type of decision-maker who over analyzes information
Answers: 3
Computers and Technology, 22.06.2019 09:00
Meenu wants to create a high quality drawing in a variety of colours. which device should she use for the same?
Answers: 1
Computers and Technology, 22.06.2019 15:30
Why would a programmer use the logical operator and in an if statement? a: when an action is to be taken that requires both conditions to be falseb: when an action is to be taken that requires both conditions to be truec: when an action is to be taken that requires the first condition to be falsed: when an action is to be taken that requires the second condition to be truei took the test and the answer is b.
Answers: 3
Computers and Technology, 22.06.2019 23:30
Which of the following is not a symptom of chronic fatigue syndrome
Answers: 2
History, 28.09.2019 20:30
English, 28.09.2019 20:30
Mathematics, 28.09.2019 20:30
Computers and Technology, 28.09.2019 20:30
English, 28.09.2019 20:30
Geography, 28.09.2019 20:30
Social Studies, 28.09.2019 20:30
Mathematics, 28.09.2019 20:30
Mathematics, 28.09.2019 20:30