What is the scope of each variable?
class pet:
def __init__(self, strSpecies, strName):
...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 14.12.2020 02:50 madi1820
What is the scope of each variable?
class pet:
def __init__(self, strSpecies, strName):
self. species = strSpecies
self. petName = strName
def __str__(self):
return self. species + " named " + self. petName
class petCarrier:
size = 'medium'
color = 'red'
The scope of petName is
.
The scope of color is
.
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 22:00, suewignall
During physical science class ben and jerry connected three identical lightbulbs in parallel to a battery where happens when ben removes one of the lightbulbs from it’s socket
Answers: 2
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 23:30, ansonhunter8891
What are listed in the vertical columns across the top of the event editor? a. file names b. conditions c. check marks d. action types
Answers: 1
![image](/tpl/images/cats/informatica.png)
You know the right answer?
Questions in other subjects:
![Konu](/tpl/images/cats/fizika.png)
Physics, 22.04.2020 19:48
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/fizika.png)
![Konu](/tpl/images/cats/himiya.png)
Chemistry, 22.04.2020 19:48
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 22.04.2020 19:48
![Konu](/tpl/images/cats/mat.png)