Computer Science, asked by johnnypasha70, 3 months ago

class Acc:
def __init__(self, id):
self.id = id
id = 555
acc = Acc(111)
print acc.id
A) 111
B) 555
C) 112
D) 333​

Answers

Answered by st7514
0

Answer:

class Acc:

   def __init__(self, id):

       self.id = id

       id = 555  

 

acc = Acc(111)

print acc.id

Output:

111

 

Explanation:

Answered by sarahssynergy
1

Find output:

Explanation:

  • class Acc:

       def __init__(self, id):

      self.id = id

      id = 555

     acc = Acc(111)

       print acc.id

  • we get after running it.
  • A) 111 is the correct answer.
Similar questions
Math, 1 month ago