subject

PLS HURR!1!1!1!1 What is the scope of the variable hardness?

class pencil:
color = 'yellow'
hardness = 2
class pencilCase:
def __init__(self, color, art):
self. color = 'black'
self. art = 'wolf'
def __str__(self):
return self. color + " " + self. art
# main part of the program
pencilA = pencil()

A) limited to the pencilCase class

B) limited to the main part of the program

C) limited to the pencil class

D) accessible to all parts of the program

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:30
Which number on the image above correctly indicates the name of a folder in this url? a.1b.2c.3d.4
Answers: 2
question
Computers and Technology, 21.06.2019 20:50
What are the advantages of google cloud ?
Answers: 2
question
Computers and Technology, 22.06.2019 11:00
The editing of digital photos us about the same level of difficulty as editing an analog photo
Answers: 2
question
Computers and Technology, 22.06.2019 11:00
What are two of the most common reasons that peolpe who need mental health care do not access it?
Answers: 1
You know the right answer?
PLS HURR!1!1!1!1 What is the scope of the variable hardness?

class pencil:
color...
Questions
Questions on the website: 13722367